lint-baseline.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
  3. <issue
  4. id="NewApi"
  5. message="Call requires API level 24 (current min is 21): `android.os.LocaleList#getEmptyLocaleList`"
  6. errorLine1=" protected LocaleList mLocaleList = LocaleList.getEmptyLocaleList();"
  7. errorLine2=" ~~~~~~~~~~~~~~~~~~">
  8. <location
  9. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/BaseIconCache.java"
  10. line="93"
  11. column="51"/>
  12. </issue>
  13. <issue
  14. id="NewApi"
  15. message="Call requires API level 24 (current min is 21): `android.content.res.Configuration#getLocales`"
  16. errorLine1=" mLocaleList = mContext.getResources().getConfiguration().getLocales();"
  17. errorLine2=" ~~~~~~~~~~">
  18. <location
  19. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/BaseIconCache.java"
  20. line="241"
  21. column="66"/>
  22. </issue>
  23. <issue
  24. id="NewApi"
  25. message="Call requires API level 24 (current min is 21): `android.os.LocaleList#toLanguageTags`"
  26. errorLine1=" mSystemState = mLocaleList.toLanguageTags() + &quot;,&quot; + Build.VERSION.SDK_INT;"
  27. errorLine2=" ~~~~~~~~~~~~~~">
  28. <location
  29. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/BaseIconCache.java"
  30. line="242"
  31. column="36"/>
  32. </issue>
  33. <issue
  34. id="NewApi"
  35. message="Call requires API level 24 (current min is 21): `android.os.UserHandle#getUserHandleForUid`"
  36. errorLine1=" UserHandle.getUserHandleForUid(Integer.parseInt(str.substring(sep + 1))));"
  37. errorLine2=" ~~~~~~~~~~~~~~~~~~~">
  38. <location
  39. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/ComponentKey.java"
  40. line="79"
  41. column="32"/>
  42. </issue>
  43. <issue
  44. id="NewApi"
  45. message="Class requires API level 23 (current min is 21): `android.graphics.drawable.DrawableWrapper`"
  46. errorLine1="public class FixedScaleDrawable extends DrawableWrapper {"
  47. errorLine2=" ~~~~~~~~~~~~~~~">
  48. <location
  49. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/FixedScaleDrawable.java"
  50. line="15"
  51. column="41"/>
  52. </issue>
  53. <issue
  54. id="NewApi"
  55. message="Call requires API level 23 (current min is 21): `new android.graphics.drawable.DrawableWrapper`"
  56. errorLine1=" super(new ColorDrawable());"
  57. errorLine2=" ~~~~~">
  58. <location
  59. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/FixedScaleDrawable.java"
  60. line="22"
  61. column="9"/>
  62. </issue>
  63. <issue
  64. id="NewApi"
  65. message="Call requires API level 26 (current min is 21): `new android.graphics.drawable.AdaptiveIconDrawable`"
  66. errorLine1=" AdaptiveIconDrawable drawable = new AdaptiveIconDrawable("
  67. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
  68. <location
  69. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/GraphicsUtils.java"
  70. line="97"
  71. column="41"/>
  72. </issue>
  73. <issue
  74. id="NewApi"
  75. message="Call requires API level 26 (current min is 21): `android.graphics.drawable.AdaptiveIconDrawable#getIconMask`"
  76. errorLine1=" return new Path(drawable.getIconMask());"
  77. errorLine2=" ~~~~~~~~~~~">
  78. <location
  79. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/GraphicsUtils.java"
  80. line="100"
  81. column="34"/>
  82. </issue>
  83. <issue
  84. id="NewApi"
  85. message="Method reference requires API level 22 (current min is 21): `ActivityInfo::loadUnbadgedIcon`"
  86. errorLine1=" ActivityInfo::loadUnbadgedIcon;"
  87. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  88. <location
  89. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/IconProvider.java"
  90. line="64"
  91. column="13"/>
  92. </issue>
  93. <issue
  94. id="NewApi"
  95. message="Call requires API level 24 (current min is 21): `android.os.UserHandle#getUserHandleForUid`"
  96. errorLine1=" UserHandle.getUserHandleForUid(info.applicationInfo.uid),"
  97. errorLine2=" ~~~~~~~~~~~~~~~~~~~">
  98. <location
  99. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/IconProvider.java"
  100. line="126"
  101. column="28"/>
  102. </issue>
  103. <issue
  104. id="NewApi"
  105. message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`"
  106. errorLine1=" : context.getSystemService(UserManager.class).getUserProfiles()) {"
  107. errorLine2=" ~~~~~~~~~~~~~~~~">
  108. <location
  109. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/IconProvider.java"
  110. line="252"
  111. column="35"/>
  112. </issue>
  113. <issue
  114. id="NewApi"
  115. message="Class requires API level 23 (current min is 21): `android.graphics.drawable.DrawableWrapper`"
  116. errorLine1="public class RoundDrawableWrapper extends DrawableWrapper {"
  117. errorLine2=" ~~~~~~~~~~~~~~~">
  118. <location
  119. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/RoundDrawableWrapper.java"
  120. line="29"
  121. column="43"/>
  122. </issue>
  123. <issue
  124. id="NewApi"
  125. message="Call requires API level 23 (current min is 21): `new android.graphics.drawable.DrawableWrapper`"
  126. errorLine1=" super(dr);"
  127. errorLine2=" ~~~~~">
  128. <location
  129. file="frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/RoundDrawableWrapper.java"
  130. line="36"
  131. column="9"/>
  132. </issue>
  133. </issues>