lint-baseline-go-res-lib.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  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 R (current min is 29): `android.view.View#getWindowInsetsController`"
  6. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  7. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
  8. <location
  9. file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsContainerView.java"
  10. line="203"
  11. column="9"/>
  12. </issue>
  13. <issue
  14. id="NewApi"
  15. message="Call requires API level R (current min is 29): `android.view.WindowInsets.Type#ime`"
  16. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  17. errorLine2=" ~~~">
  18. <location
  19. file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsContainerView.java"
  20. line="203"
  21. column="60"/>
  22. </issue>
  23. <issue
  24. id="NewApi"
  25. message="Call requires API level R (current min is 29): `android.view.WindowInsetsController#hide`"
  26. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  27. errorLine2=" ~~~~">
  28. <location
  29. file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsContainerView.java"
  30. line="203"
  31. column="37"/>
  32. </issue>
  33. <issue
  34. id="NewApi"
  35. message="Call requires API level R (current min is 29): `android.view.View#getWindowInsetsController`"
  36. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  37. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
  38. <location
  39. file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsRecyclerView.java"
  40. line="193"
  41. column="17"/>
  42. </issue>
  43. <issue
  44. id="NewApi"
  45. message="Call requires API level R (current min is 29): `android.view.WindowInsets.Type#ime`"
  46. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  47. errorLine2=" ~~~">
  48. <location
  49. file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsRecyclerView.java"
  50. line="193"
  51. column="68"/>
  52. </issue>
  53. <issue
  54. id="NewApi"
  55. message="Call requires API level R (current min is 29): `android.view.WindowInsetsController#hide`"
  56. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  57. errorLine2=" ~~~~">
  58. <location
  59. file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsRecyclerView.java"
  60. line="193"
  61. column="45"/>
  62. </issue>
  63. <issue
  64. id="NewApi"
  65. message="Call requires API level 31 (current min is 29): `android.appwidget.AppWidgetHostView#updateAppWidgetSize`"
  66. errorLine1=" widgetView.updateAppWidgetSize(new Bundle(), sizes);"
  67. errorLine2=" ~~~~~~~~~~~~~~~~~~~">
  68. <location
  69. file="packages/apps/Launcher3/src/com/android/launcher3/AppWidgetResizeFrame.java"
  70. line="399"
  71. column="24"/>
  72. </issue>
  73. <issue
  74. id="NewApi"
  75. message="Call requires API level 31 (current min is 29): `android.graphics.Rect#inset`"
  76. errorLine1=" potentialTaskRect.inset(insets.left, insets.top, insets.right, insets.bottom);"
  77. errorLine2=" ~~~~~">
  78. <location
  79. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java"
  80. line="248"
  81. column="27"/>
  82. </issue>
  83. <issue
  84. id="NewApi"
  85. message="Call requires API level 31 (current min is 29): `android.graphics.Rect#inset`"
  86. errorLine1=" potentialTaskRect.inset("
  87. errorLine2=" ~~~~~">
  88. <location
  89. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java"
  90. line="249"
  91. column="27"/>
  92. </issue>
  93. <issue
  94. id="NewApi"
  95. message="Call requires API level 31 (current min is 29): `android.graphics.Rect#inset`"
  96. errorLine1=" outRect.inset(Math.max(insets.left, sideMargin), Math.max(insets.top, topMargin),"
  97. errorLine2=" ~~~~~">
  98. <location
  99. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java"
  100. line="291"
  101. column="17"/>
  102. </issue>
  103. <issue
  104. id="NewApi"
  105. message="Call requires API level 31 (current min is 29): `android.graphics.Rect#inset`"
  106. errorLine1=" gridRect.inset(0, dp.overviewTaskThumbnailTopMarginPx, 0, 0);"
  107. errorLine2=" ~~~~~">
  108. <location
  109. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java"
  110. line="315"
  111. column="18"/>
  112. </issue>
  113. <issue
  114. id="NewApi"
  115. message="Call requires API level R (current min is 29): `android.view.WindowManager#getCurrentWindowMetrics`"
  116. errorLine1=" .getCurrentWindowMetrics().getWindowInsets();"
  117. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
  118. <location
  119. file="packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java"
  120. line="236"
  121. column="22"/>
  122. </issue>
  123. <issue
  124. id="NewApi"
  125. message="Call requires API level R (current min is 29): `android.view.WindowMetrics#getWindowInsets`"
  126. errorLine1=" .getCurrentWindowMetrics().getWindowInsets();"
  127. errorLine2=" ~~~~~~~~~~~~~~~">
  128. <location
  129. file="packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java"
  130. line="236"
  131. column="48"/>
  132. </issue>
  133. <issue
  134. id="NewApi"
  135. message="Call requires API level R (current min is 29): `android.content.Context#getDisplay`"
  136. errorLine1=" if (mContext.getDisplay() != null) {"
  137. errorLine2=" ~~~~~~~~~~">
  138. <location
  139. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/EdgeBackGestureHandler.java"
  140. line="115"
  141. column="26"/>
  142. </issue>
  143. <issue
  144. id="NewApi"
  145. message="Call requires API level R (current min is 29): `android.content.Context#getDisplay`"
  146. errorLine1=" mContext.getDisplay().getRealSize(mDisplaySize);"
  147. errorLine2=" ~~~~~~~~~~">
  148. <location
  149. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/EdgeBackGestureHandler.java"
  150. line="116"
  151. column="26"/>
  152. </issue>
  153. <issue
  154. id="NewApi"
  155. message="Call requires API level R (current min is 29): `android.content.ContextWrapper#getDisplay`"
  156. errorLine1=" Display display = getDisplay();"
  157. errorLine2=" ~~~~~~~~~~">
  158. <location
  159. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/GestureSandboxActivity.java"
  160. line="153"
  161. column="27"/>
  162. </issue>
  163. <issue
  164. id="NewApi"
  165. message="Call requires API level R (current min is 29): `java.util.List#of`"
  166. errorLine1=" List.of(new Rect(0, 0, metrics.widthPixels, metrics.heightPixels)));"
  167. errorLine2=" ~~">
  168. <location
  169. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/GestureSandboxActivity.java"
  170. line="158"
  171. column="26"/>
  172. </issue>
  173. <issue
  174. id="NewApi"
  175. message="Call requires API level 31 (current min is 29): `android.appwidget.AppWidgetHostView#resetColorResources`"
  176. errorLine1=" resetColorResources();"
  177. errorLine2=" ~~~~~~~~~~~~~~~~~~~">
  178. <location
  179. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java"
  180. line="137"
  181. column="13"/>
  182. </issue>
  183. <issue
  184. id="NewApi"
  185. message="Call requires API level R (current min is 29): `java.util.List#of`"
  186. errorLine1=" mColorExtractor.addLocation(List.of(mLastLocationRegistered));"
  187. errorLine2=" ~~">
  188. <location
  189. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java"
  190. line="367"
  191. column="46"/>
  192. </issue>
  193. <issue
  194. id="NewApi"
  195. message="Call requires API level R (current min is 29): `java.util.List#of`"
  196. errorLine1=" mColorExtractor.addLocation(List.of(mLastLocationRegistered));"
  197. errorLine2=" ~~">
  198. <location
  199. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java"
  200. line="390"
  201. column="50"/>
  202. </issue>
  203. <issue
  204. id="NewApi"
  205. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeWidth`"
  206. errorLine1=" (ATLEAST_S &amp;&amp; maxResizeWidth > 0)"
  207. errorLine2=" ~~~~~~~~~~~~~~">
  208. <location
  209. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  210. line="91"
  211. column="31"/>
  212. </issue>
  213. <issue
  214. id="NewApi"
  215. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeWidth`"
  216. errorLine1=" ? getSpanX(widgetPadding, maxResizeWidth, smallestCellWidth)"
  217. errorLine2=" ~~~~~~~~~~~~~~">
  218. <location
  219. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  220. line="92"
  221. column="51"/>
  222. </issue>
  223. <issue
  224. id="NewApi"
  225. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeHeight`"
  226. errorLine1=" (ATLEAST_S &amp;&amp; maxResizeHeight > 0)"
  227. errorLine2=" ~~~~~~~~~~~~~~~">
  228. <location
  229. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  230. line="95"
  231. column="31"/>
  232. </issue>
  233. <issue
  234. id="NewApi"
  235. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeHeight`"
  236. errorLine1=" ? getSpanY(widgetPadding, maxResizeHeight, smallestCellHeight)"
  237. errorLine2=" ~~~~~~~~~~~~~~~">
  238. <location
  239. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  240. line="96"
  241. column="51"/>
  242. </issue>
  243. <issue
  244. id="NewApi"
  245. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`"
  246. errorLine1=" if (ATLEAST_S &amp;&amp; targetCellWidth >= minSpanX &amp;&amp; targetCellWidth &lt;= maxSpanX"
  247. errorLine2=" ~~~~~~~~~~~~~~~">
  248. <location
  249. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  250. line="101"
  251. column="26"/>
  252. </issue>
  253. <issue
  254. id="NewApi"
  255. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`"
  256. errorLine1=" if (ATLEAST_S &amp;&amp; targetCellWidth >= minSpanX &amp;&amp; targetCellWidth &lt;= maxSpanX"
  257. errorLine2=" ~~~~~~~~~~~~~~~">
  258. <location
  259. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  260. line="101"
  261. column="57"/>
  262. </issue>
  263. <issue
  264. id="NewApi"
  265. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`"
  266. errorLine1=" &amp;&amp; targetCellHeight >= minSpanY &amp;&amp; targetCellHeight &lt;= maxSpanY) {"
  267. errorLine2=" ~~~~~~~~~~~~~~~~">
  268. <location
  269. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  270. line="102"
  271. column="20"/>
  272. </issue>
  273. <issue
  274. id="NewApi"
  275. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`"
  276. errorLine1=" &amp;&amp; targetCellHeight >= minSpanY &amp;&amp; targetCellHeight &lt;= maxSpanY) {"
  277. errorLine2=" ~~~~~~~~~~~~~~~~">
  278. <location
  279. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  280. line="102"
  281. column="52"/>
  282. </issue>
  283. <issue
  284. id="NewApi"
  285. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`"
  286. errorLine1=" spanX = targetCellWidth;"
  287. errorLine2=" ~~~~~~~~~~~~~~~">
  288. <location
  289. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  290. line="103"
  291. column="21"/>
  292. </issue>
  293. <issue
  294. id="NewApi"
  295. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`"
  296. errorLine1=" spanY = targetCellHeight;"
  297. errorLine2=" ~~~~~~~~~~~~~~~~">
  298. <location
  299. file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
  300. line="104"
  301. column="21"/>
  302. </issue>
  303. <issue
  304. id="NewApi"
  305. message="Call requires API level R (current min is 29): `android.content.Context#getDisplay`"
  306. errorLine1=" final Display display = mContext.getDisplay();"
  307. errorLine2=" ~~~~~~~~~~">
  308. <location
  309. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/NavBarGestureHandler.java"
  310. line="94"
  311. column="42"/>
  312. </issue>
  313. <issue
  314. id="NewApi"
  315. message="Call requires API level 31 (current min is 29): `android.content.pm.LauncherActivityInfo#getLoadingProgress`"
  316. errorLine1=" return (int) (100 * info.getLoadingProgress());"
  317. errorLine2=" ~~~~~~~~~~~~~~~~~~">
  318. <location
  319. file="packages/apps/Launcher3/src/com/android/launcher3/util/PackageManagerHelper.java"
  320. line="338"
  321. column="38"/>
  322. </issue>
  323. <issue
  324. id="NewApi"
  325. message="Call requires API level R (current min is 29): `java.util.List#of`"
  326. errorLine1=" private List&lt;WidgetsListBaseEntry> mAllWidgets = List.of();"
  327. errorLine2=" ~~">
  328. <location
  329. file="packages/apps/Launcher3/src/com/android/launcher3/popup/PopupDataProvider.java"
  330. line="64"
  331. column="59"/>
  332. </issue>
  333. <issue
  334. id="NewApi"
  335. message="Call requires API level R (current min is 29): `java.util.List#of`"
  336. errorLine1=" private List&lt;ItemInfo> mRecommendedWidgets = List.of();"
  337. errorLine2=" ~~">
  338. <location
  339. file="packages/apps/Launcher3/src/com/android/launcher3/popup/PopupDataProvider.java"
  340. line="66"
  341. column="55"/>
  342. </issue>
  343. <issue
  344. id="NewApi"
  345. message="Call requires API level R (current min is 29): `new android.view.SurfaceControlViewHost`"
  346. errorLine1=" .submit(() -> new SurfaceControlViewHost(mContext, mDisplay, mHostToken))"
  347. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
  348. <location
  349. file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
  350. line="91"
  351. column="35"/>
  352. </issue>
  353. <issue
  354. id="NewApi"
  355. message="Call requires API level R (current min is 29): `android.view.SurfaceControlViewHost#getSurfacePackage`"
  356. errorLine1=" surfacePackage = mSurfaceControlViewHost.getSurfacePackage();"
  357. errorLine2=" ~~~~~~~~~~~~~~~~~">
  358. <location
  359. file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
  360. line="93"
  361. column="54"/>
  362. </issue>
  363. <issue
  364. id="NewApi"
  365. message="Call requires API level R (current min is 29): `android.view.SurfaceControlViewHost#setView`"
  366. errorLine1=" host.setView(view, view.getMeasuredWidth(), view.getMeasuredHeight());"
  367. errorLine2=" ~~~~~~~">
  368. <location
  369. file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
  370. line="127"
  371. column="22"/>
  372. </issue>
  373. <issue
  374. id="NewApi"
  375. message="Cast from `SurfacePackage` to `Parcelable` requires API level 30 (current min is 29)"
  376. errorLine1=" result.putParcelable(KEY_SURFACE_PACKAGE, surfacePackage);"
  377. errorLine2=" ~~~~~~~~~~~~~~">
  378. <location
  379. file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
  380. line="132"
  381. column="51"/>
  382. </issue>
  383. <issue
  384. id="NewApi"
  385. message="Call requires API level R (current min is 29): `android.view.SurfaceControlViewHost#release`"
  386. errorLine1=" mSurfaceControlViewHost.release();"
  387. errorLine2=" ~~~~~~~">
  388. <location
  389. file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
  390. line="149"
  391. column="41"/>
  392. </issue>
  393. <issue
  394. id="NewApi"
  395. message="Call requires API level R (current min is 29): `android.graphics.Outline#setPath`"
  396. errorLine1=" outline.setPath(mPath);"
  397. errorLine2=" ~~~~~~~">
  398. <location
  399. file="packages/apps/Launcher3/src/com/android/launcher3/popup/RoundedArrowDrawable.java"
  400. line="88"
  401. column="17"/>
  402. </issue>
  403. <issue
  404. id="NewApi"
  405. message="Call requires API level 31 (current min is 29): `new android.widget.EdgeEffect`"
  406. errorLine1=" ? new EdgeEffect(context, attrs) : new EdgeEffect(context);"
  407. errorLine2=" ~~~~~~~~~~~~~~">
  408. <location
  409. file="packages/apps/Launcher3/src/com/android/launcher3/views/SpringRelativeLayout.java"
  410. line="49"
  411. column="19"/>
  412. </issue>
  413. <issue
  414. id="NewApi"
  415. message="Call requires API level 31 (current min is 29): `new android.widget.EdgeEffect`"
  416. errorLine1=" ? new EdgeEffect(context, attrs) : new EdgeEffect(context);"
  417. errorLine2=" ~~~~~~~~~~~~~~">
  418. <location
  419. file="packages/apps/Launcher3/src/com/android/launcher3/views/SpringRelativeLayout.java"
  420. line="51"
  421. column="19"/>
  422. </issue>
  423. <issue
  424. id="NewApi"
  425. message="Call requires API level R (current min is 29): `android.view.WindowManager.LayoutParams#setFitInsetsTypes`"
  426. errorLine1=" mWindowLayoutParams.setFitInsetsTypes(0);"
  427. errorLine2=" ~~~~~~~~~~~~~~~~~">
  428. <location
  429. file="packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/TaskbarController.java"
  430. line="316"
  431. column="29"/>
  432. </issue>
  433. <issue
  434. id="NewApi"
  435. message="Call requires API level R (current min is 29): `android.view.WindowInsets#getInsets`"
  436. errorLine1=" Insets systemInsets = insets.getInsets(WindowInsets.Type.systemBars());"
  437. errorLine2=" ~~~~~~~~~">
  438. <location
  439. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/TutorialFragment.java"
  440. line="118"
  441. column="42"/>
  442. </issue>
  443. <issue
  444. id="NewApi"
  445. message="Call requires API level R (current min is 29): `android.view.WindowInsets.Type#systemBars`"
  446. errorLine1=" Insets systemInsets = insets.getInsets(WindowInsets.Type.systemBars());"
  447. errorLine2=" ~~~~~~~~~~">
  448. <location
  449. file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/TutorialFragment.java"
  450. line="118"
  451. column="70"/>
  452. </issue>
  453. <issue
  454. id="NewApi"
  455. message="Call requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#loadDescription`"
  456. errorLine1=" CharSequence description = mItem.widgetInfo.loadDescription(getContext());"
  457. errorLine2=" ~~~~~~~~~~~~~~~">
  458. <location
  459. file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java"
  460. line="193"
  461. column="57"/>
  462. </issue>
  463. <issue
  464. id="NewApi"
  465. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#previewLayout`"
  466. errorLine1=" &amp;&amp; item.widgetInfo.previewLayout != Resources.ID_NULL) {"
  467. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  468. <location
  469. file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java"
  470. line="214"
  471. column="20"/>
  472. </issue>
  473. <issue
  474. id="NewApi"
  475. message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#previewLayout`"
  476. errorLine1=" launcherAppWidgetProviderInfo.initialLayout = item.widgetInfo.previewLayout;"
  477. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  478. <location
  479. file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java"
  480. line="222"
  481. column="59"/>
  482. </issue>
  483. <issue
  484. id="NewApi"
  485. message="Call requires API level R (current min is 29): `android.view.View#getWindowInsetsController`"
  486. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  487. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
  488. <location
  489. file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
  490. line="558"
  491. column="9"/>
  492. </issue>
  493. <issue
  494. id="NewApi"
  495. message="Call requires API level R (current min is 29): `android.view.WindowInsets.Type#ime`"
  496. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  497. errorLine2=" ~~~">
  498. <location
  499. file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
  500. line="558"
  501. column="60"/>
  502. </issue>
  503. <issue
  504. id="NewApi"
  505. message="Call requires API level R (current min is 29): `android.view.WindowInsetsController#hide`"
  506. errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
  507. errorLine2=" ~~~~">
  508. <location
  509. file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
  510. line="558"
  511. column="37"/>
  512. </issue>
  513. <issue
  514. id="NewApi"
  515. message="Call requires API level R (current min is 29): `java.util.List#of`"
  516. errorLine1=" return new RecommendationTableData(List.of(), previewScale);"
  517. errorLine2=" ~~">
  518. <location
  519. file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsRecommendationTableLayout.java"
  520. line="139"
  521. column="53"/>
  522. </issue>
  523. </issues>