blob: a9dc0c604e0186f7b80db1ba166c146bf7035a6b [file] [log] [blame]
Pedro Loureiro1e296c12021-03-09 18:35:52 +00001<?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
4 <issue
5 id="NewApi"
Jeff Sharkey89534692021-06-10 14:23:51 +00006 message="Call requires API level 28 (current min is 26): `android.os.UserManager#requestQuietModeEnabled`"
7 errorLine1=" showConfirm |= !userManager.requestQuietModeEnabled(!toState, userProfile);"
8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
9 <location
10 file="packages/apps/Launcher3/src/com/android/launcher3/allapps/WorkModeSwitch.java"
11 line="110"
12 column="41"/>
13 </issue>
14
15 <issue
16 id="NewApi"
Pedro Loureiro1e296c12021-03-09 18:35:52 +000017 message="Call requires API level R (current min is 26): `android.view.View#getWindowInsetsController`"
18 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
20 <location
21 file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsContainerView.java"
22 line="203"
23 column="9"/>
24 </issue>
25
26 <issue
27 id="NewApi"
28 message="Call requires API level R (current min is 26): `android.view.WindowInsets.Type#ime`"
29 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
30 errorLine2=" ~~~">
31 <location
32 file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsContainerView.java"
33 line="203"
34 column="60"/>
35 </issue>
36
37 <issue
38 id="NewApi"
39 message="Call requires API level R (current min is 26): `android.view.WindowInsetsController#hide`"
40 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
41 errorLine2=" ~~~~">
42 <location
43 file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsContainerView.java"
44 line="203"
45 column="37"/>
46 </issue>
47
48 <issue
49 id="NewApi"
50 message="Call requires API level R (current min is 26): `android.view.View#getWindowInsetsController`"
51 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
53 <location
54 file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsRecyclerView.java"
55 line="193"
56 column="17"/>
57 </issue>
58
59 <issue
60 id="NewApi"
61 message="Call requires API level R (current min is 26): `android.view.WindowInsets.Type#ime`"
62 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
63 errorLine2=" ~~~">
64 <location
65 file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsRecyclerView.java"
66 line="193"
67 column="68"/>
68 </issue>
69
70 <issue
71 id="NewApi"
72 message="Call requires API level R (current min is 26): `android.view.WindowInsetsController#hide`"
73 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
74 errorLine2=" ~~~~">
75 <location
76 file="packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsRecyclerView.java"
77 line="193"
78 column="45"/>
79 </issue>
80
81 <issue
82 id="NewApi"
83 message="Call requires API level 31 (current min is 26): `android.appwidget.AppWidgetHostView#updateAppWidgetSize`"
84 errorLine1=" widgetView.updateAppWidgetSize(new Bundle(), sizes);"
85 errorLine2=" ~~~~~~~~~~~~~~~~~~~">
86 <location
87 file="packages/apps/Launcher3/src/com/android/launcher3/AppWidgetResizeFrame.java"
88 line="399"
89 column="24"/>
90 </issue>
91
92 <issue
93 id="NewApi"
94 message="Call requires API level R (current min is 26): `android.view.WindowManager#getCurrentWindowMetrics`"
95 errorLine1=" .getCurrentWindowMetrics().getWindowInsets();"
96 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
97 <location
98 file="packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java"
99 line="236"
100 column="22"/>
101 </issue>
102
103 <issue
104 id="NewApi"
105 message="Call requires API level R (current min is 26): `android.view.WindowMetrics#getWindowInsets`"
106 errorLine1=" .getCurrentWindowMetrics().getWindowInsets();"
107 errorLine2=" ~~~~~~~~~~~~~~~">
108 <location
109 file="packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java"
110 line="236"
111 column="48"/>
112 </issue>
113
114 <issue
115 id="NewApi"
116 message="Call requires API level 29 (current min is 26): `android.content.res.Resources#getFloat`"
117 errorLine1=" folderLabelTextScale = res.getFloat(R.dimen.folder_label_text_scale);"
118 errorLine2=" ~~~~~~~~">
119 <location
120 file="packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java"
121 line="256"
122 column="36"/>
123 </issue>
124
125 <issue
126 id="NewApi"
127 message="Call requires API level 29 (current min is 26): `android.content.res.Resources#getFloat`"
128 errorLine1=" return mContext.getResources().getFloat(resId);"
129 errorLine2=" ~~~~~~~~">
130 <location
131 file="packages/apps/Launcher3/src/com/android/launcher3/util/DynamicResource.java"
132 line="73"
133 column="40"/>
134 </issue>
135
136 <issue
137 id="NewApi"
138 message="Call requires API level 31 (current min is 26): `android.appwidget.AppWidgetHostView#resetColorResources`"
139 errorLine1=" resetColorResources();"
140 errorLine2=" ~~~~~~~~~~~~~~~~~~~">
141 <location
142 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java"
143 line="137"
144 column="13"/>
145 </issue>
146
147 <issue
148 id="NewApi"
149 message="Call requires API level R (current min is 26): `java.util.List#of`"
150 errorLine1=" mColorExtractor.addLocation(List.of(mLastLocationRegistered));"
151 errorLine2=" ~~">
152 <location
153 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java"
154 line="367"
155 column="46"/>
156 </issue>
157
158 <issue
159 id="NewApi"
160 message="Call requires API level R (current min is 26): `java.util.List#of`"
161 errorLine1=" mColorExtractor.addLocation(List.of(mLastLocationRegistered));"
162 errorLine2=" ~~">
163 <location
164 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java"
165 line="390"
166 column="50"/>
167 </issue>
168
169 <issue
170 id="NewApi"
171 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#maxResizeWidth`"
172 errorLine1=" (ATLEAST_S &amp;&amp; maxResizeWidth > 0)"
173 errorLine2=" ~~~~~~~~~~~~~~">
174 <location
175 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
176 line="91"
177 column="31"/>
178 </issue>
179
180 <issue
181 id="NewApi"
182 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#maxResizeWidth`"
183 errorLine1=" ? getSpanX(widgetPadding, maxResizeWidth, smallestCellWidth)"
184 errorLine2=" ~~~~~~~~~~~~~~">
185 <location
186 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
187 line="92"
188 column="51"/>
189 </issue>
190
191 <issue
192 id="NewApi"
193 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#maxResizeHeight`"
194 errorLine1=" (ATLEAST_S &amp;&amp; maxResizeHeight > 0)"
195 errorLine2=" ~~~~~~~~~~~~~~~">
196 <location
197 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
198 line="95"
199 column="31"/>
200 </issue>
201
202 <issue
203 id="NewApi"
204 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#maxResizeHeight`"
205 errorLine1=" ? getSpanY(widgetPadding, maxResizeHeight, smallestCellHeight)"
206 errorLine2=" ~~~~~~~~~~~~~~~">
207 <location
208 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
209 line="96"
210 column="51"/>
211 </issue>
212
213 <issue
214 id="NewApi"
215 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`"
216 errorLine1=" if (ATLEAST_S &amp;&amp; targetCellWidth >= minSpanX &amp;&amp; targetCellWidth &lt;= maxSpanX"
217 errorLine2=" ~~~~~~~~~~~~~~~">
218 <location
219 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
220 line="101"
221 column="26"/>
222 </issue>
223
224 <issue
225 id="NewApi"
226 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`"
227 errorLine1=" if (ATLEAST_S &amp;&amp; targetCellWidth >= minSpanX &amp;&amp; targetCellWidth &lt;= maxSpanX"
228 errorLine2=" ~~~~~~~~~~~~~~~">
229 <location
230 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
231 line="101"
232 column="57"/>
233 </issue>
234
235 <issue
236 id="NewApi"
237 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`"
238 errorLine1=" &amp;&amp; targetCellHeight >= minSpanY &amp;&amp; targetCellHeight &lt;= maxSpanY) {"
239 errorLine2=" ~~~~~~~~~~~~~~~~">
240 <location
241 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
242 line="102"
243 column="20"/>
244 </issue>
245
246 <issue
247 id="NewApi"
248 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`"
249 errorLine1=" &amp;&amp; targetCellHeight >= minSpanY &amp;&amp; targetCellHeight &lt;= maxSpanY) {"
250 errorLine2=" ~~~~~~~~~~~~~~~~">
251 <location
252 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
253 line="102"
254 column="52"/>
255 </issue>
256
257 <issue
258 id="NewApi"
259 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`"
260 errorLine1=" spanX = targetCellWidth;"
261 errorLine2=" ~~~~~~~~~~~~~~~">
262 <location
263 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
264 line="103"
265 column="21"/>
266 </issue>
267
268 <issue
269 id="NewApi"
270 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`"
271 errorLine1=" spanY = targetCellHeight;"
272 errorLine2=" ~~~~~~~~~~~~~~~~">
273 <location
274 file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java"
275 line="104"
276 column="21"/>
277 </issue>
278
279 <issue
280 id="NewApi"
281 message="Call requires API level 28 (current min is 26): `android.app.Person#getKey`"
282 errorLine1=" return people.stream().filter(person -> person.getKey() != null)"
283 errorLine2=" ~~~~~~">
284 <location
285 file="packages/apps/Launcher3/src/com/android/launcher3/notification/NotificationKeyData.java"
286 line="72"
287 column="56"/>
288 </issue>
289
290 <issue
291 id="NewApi"
292 message="Method reference requires API level 28 (current min is 26): `Person::getKey`"
293 errorLine1=" .map(Person::getKey).sorted().toArray(String[]::new);"
294 errorLine2=" ~~~~~~~~~~~~~~">
295 <location
296 file="packages/apps/Launcher3/src/com/android/launcher3/notification/NotificationKeyData.java"
297 line="73"
298 column="22"/>
299 </issue>
300
301 <issue
302 id="NewApi"
303 message="Call requires API level 31 (current min is 26): `android.content.pm.LauncherActivityInfo#getLoadingProgress`"
304 errorLine1=" return (int) (100 * info.getLoadingProgress());"
305 errorLine2=" ~~~~~~~~~~~~~~~~~~">
306 <location
307 file="packages/apps/Launcher3/src/com/android/launcher3/util/PackageManagerHelper.java"
308 line="338"
309 column="38"/>
310 </issue>
311
312 <issue
313 id="NewApi"
314 message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_LEFT`"
315 errorLine1=" AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_LEFT"
316 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
317 <location
318 file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
319 line="1752"
320 column="17"/>
321 </issue>
322
323 <issue
324 id="NewApi"
325 message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_RIGHT`"
326 errorLine1=" : AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_RIGHT);"
327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
328 <location
329 file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
330 line="1753"
331 column="19"/>
332 </issue>
333
334 <issue
335 id="NewApi"
336 message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_RIGHT`"
337 errorLine1=" AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_RIGHT"
338 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
339 <location
340 file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
341 line="1760"
342 column="17"/>
343 </issue>
344
345 <issue
346 id="NewApi"
347 message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_LEFT`"
348 errorLine1=" : AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_LEFT);"
349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
350 <location
351 file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
352 line="1761"
353 column="19"/>
354 </issue>
355
356 <issue
357 id="NewApi"
358 message="Call requires API level R (current min is 26): `java.util.List#of`"
359 errorLine1=" private List&lt;WidgetsListBaseEntry> mAllWidgets = List.of();"
360 errorLine2=" ~~">
361 <location
362 file="packages/apps/Launcher3/src/com/android/launcher3/popup/PopupDataProvider.java"
363 line="64"
364 column="59"/>
365 </issue>
366
367 <issue
368 id="NewApi"
369 message="Call requires API level R (current min is 26): `java.util.List#of`"
370 errorLine1=" private List&lt;ItemInfo> mRecommendedWidgets = List.of();"
371 errorLine2=" ~~">
372 <location
373 file="packages/apps/Launcher3/src/com/android/launcher3/popup/PopupDataProvider.java"
374 line="66"
375 column="55"/>
376 </issue>
377
378 <issue
379 id="NewApi"
380 message="Call requires API level R (current min is 26): `new android.view.SurfaceControlViewHost`"
381 errorLine1=" .submit(() -> new SurfaceControlViewHost(mContext, mDisplay, mHostToken))"
382 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
383 <location
384 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
385 line="91"
386 column="35"/>
387 </issue>
388
389 <issue
390 id="NewApi"
391 message="Call requires API level R (current min is 26): `android.view.SurfaceControlViewHost#getSurfacePackage`"
392 errorLine1=" surfacePackage = mSurfaceControlViewHost.getSurfacePackage();"
393 errorLine2=" ~~~~~~~~~~~~~~~~~">
394 <location
395 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
396 line="93"
397 column="54"/>
398 </issue>
399
400 <issue
401 id="NewApi"
402 message="Call requires API level R (current min is 26): `android.view.SurfaceControlViewHost#setView`"
403 errorLine1=" host.setView(view, view.getMeasuredWidth(), view.getMeasuredHeight());"
404 errorLine2=" ~~~~~~~">
405 <location
406 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
407 line="127"
408 column="22"/>
409 </issue>
410
411 <issue
412 id="NewApi"
413 message="Cast from `SurfacePackage` to `Parcelable` requires API level 30 (current min is 26)"
414 errorLine1=" result.putParcelable(KEY_SURFACE_PACKAGE, surfacePackage);"
415 errorLine2=" ~~~~~~~~~~~~~~">
416 <location
417 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
418 line="132"
419 column="51"/>
420 </issue>
421
422 <issue
423 id="NewApi"
424 message="Call requires API level R (current min is 26): `android.view.SurfaceControlViewHost#release`"
425 errorLine1=" mSurfaceControlViewHost.release();"
426 errorLine2=" ~~~~~~~">
427 <location
428 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/PreviewSurfaceRenderer.java"
429 line="149"
430 column="41"/>
431 </issue>
432
433 <issue
434 id="NewApi"
435 message="Call requires API level R (current min is 26): `android.graphics.Outline#setPath`"
436 errorLine1=" outline.setPath(mPath);"
437 errorLine2=" ~~~~~~~">
438 <location
439 file="packages/apps/Launcher3/src/com/android/launcher3/popup/RoundedArrowDrawable.java"
440 line="88"
441 column="17"/>
442 </issue>
443
444 <issue
445 id="NewApi"
446 message="Call requires API level 31 (current min is 26): `new android.widget.EdgeEffect`"
447 errorLine1=" ? new EdgeEffect(context, attrs) : new EdgeEffect(context);"
448 errorLine2=" ~~~~~~~~~~~~~~">
449 <location
450 file="packages/apps/Launcher3/src/com/android/launcher3/views/SpringRelativeLayout.java"
451 line="49"
452 column="19"/>
453 </issue>
454
455 <issue
456 id="NewApi"
457 message="Call requires API level 31 (current min is 26): `new android.widget.EdgeEffect`"
458 errorLine1=" ? new EdgeEffect(context, attrs) : new EdgeEffect(context);"
459 errorLine2=" ~~~~~~~~~~~~~~">
460 <location
461 file="packages/apps/Launcher3/src/com/android/launcher3/views/SpringRelativeLayout.java"
462 line="51"
463 column="19"/>
464 </issue>
465
466 <issue
467 id="NewApi"
468 message="Call requires API level 29 (current min is 26): `android.view.WindowInsets#getTappableElementInsets`"
469 errorLine1=" return windowInsets.getTappableElementInsets().bottom > 0;"
470 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
471 <location
472 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/SysUiScrim.java"
473 line="190"
474 column="33"/>
475 </issue>
476
477 <issue
478 id="NewApi"
479 message="Field requires API level 29 (current min is 26): `android.graphics.Insets#bottom`"
480 errorLine1=" return windowInsets.getTappableElementInsets().bottom > 0;"
481 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
482 <location
483 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/SysUiScrim.java"
484 line="190"
485 column="20"/>
486 </issue>
487
488 <issue
489 id="NewApi"
490 message="Field requires API level 28 (current min is 26): `android.appwidget.AppWidgetProviderInfo#widgetFeatures`"
491 errorLine1=" int featureFlags = mProviderInfo.widgetFeatures;"
492 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
493 <location
494 file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetAddFlowHandler.java"
495 line="93"
496 column="28"/>
497 </issue>
498
499 <issue
500 id="NewApi"
501 message="Call requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#loadDescription`"
502 errorLine1=" CharSequence description = mItem.widgetInfo.loadDescription(getContext());"
503 errorLine2=" ~~~~~~~~~~~~~~~">
504 <location
505 file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java"
506 line="193"
507 column="57"/>
508 </issue>
509
510 <issue
511 id="NewApi"
512 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#previewLayout`"
513 errorLine1=" &amp;&amp; item.widgetInfo.previewLayout != Resources.ID_NULL) {"
514 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
515 <location
516 file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java"
517 line="214"
518 column="20"/>
519 </issue>
520
521 <issue
522 id="NewApi"
523 message="Field requires API level 31 (current min is 26): `android.appwidget.AppWidgetProviderInfo#previewLayout`"
524 errorLine1=" launcherAppWidgetProviderInfo.initialLayout = item.widgetInfo.previewLayout;"
525 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
526 <location
527 file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java"
528 line="222"
529 column="59"/>
530 </issue>
531
532 <issue
533 id="NewApi"
534 message="Call requires API level R (current min is 26): `android.view.View#getWindowInsetsController`"
535 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
536 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
537 <location
538 file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
539 line="558"
540 column="9"/>
541 </issue>
542
543 <issue
544 id="NewApi"
545 message="Call requires API level R (current min is 26): `android.view.WindowInsets.Type#ime`"
546 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
547 errorLine2=" ~~~">
548 <location
549 file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
550 line="558"
551 column="60"/>
552 </issue>
553
554 <issue
555 id="NewApi"
556 message="Call requires API level R (current min is 26): `android.view.WindowInsetsController#hide`"
557 errorLine1=" getWindowInsetsController().hide(WindowInsets.Type.ime());"
558 errorLine2=" ~~~~">
559 <location
560 file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
561 line="558"
562 column="37"/>
563 </issue>
564
565 <issue
566 id="NewApi"
567 message="Call requires API level R (current min is 26): `java.util.List#of`"
568 errorLine1=" return new RecommendationTableData(List.of(), previewScale);"
569 errorLine2=" ~~">
570 <location
571 file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsRecommendationTableLayout.java"
572 line="139"
573 column="53"/>
574 </issue>
575
576 <issue
577 id="NewApi"
578 message="Method reference requires API level 28 (current min is 26): `Person::getKey`"
579 errorLine1=" : Arrays.stream(persons).map(Person::getKey).sorted().toArray(String[]::new);"
580 errorLine2=" ~~~~~~~~~~~~~~">
581 <location
582 file="packages/apps/Launcher3/src/com/android/launcher3/model/data/WorkspaceItemInfo.java"
583 line="178"
584 column="42"/>
585 </issue>
586
Brian Isganitis4a763152021-06-21 16:07:09 -0400587 <issue
588 id="NewApi"
589 message="Call requires API level 31 (current min is 26): `android.appwidget.AppWidgetHostView#setColorResources`"
590 errorLine1=" setColorResources(mWallpaperColorResources);"
591 errorLine2=" ~~~~~~~~~~~~~~~~~">
592 <location
593 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/LauncherPreviewRenderer.java"
594 line="528"
595 column="17"/>
596 </issue>
597
Brian Isganitis57c8d682021-07-19 14:36:06 -0400598 <issue
599 id="NewApi"
600 message="Call requires API level 27 (current min is 26): `android.app.WallpaperManager#getWallpaperColors`"
601 errorLine1=" : WallpaperManager.getInstance(context).getWallpaperColors(FLAG_SYSTEM);"
602 errorLine2=" ~~~~~~~~~~~~~~~~~~">
603 <location
604 file="packages/apps/Launcher3/src/com/android/launcher3/graphics/LauncherPreviewRenderer.java"
605 line="288"
606 column="61"/>
607 </issue>
608
Colin Crossd9300112022-11-11 23:22:49 +0000609 <issue
610 id="NewApi"
611 message="Call requires API level 33 (current min is 26): `android.app.Activity#getOnBackInvokedDispatcher`">
612 <location
613 file="packages/apps/Launcher3/src/com/android/launcher3/BaseActivity.java"
614 line="182"/>
615 </issue>
616
617 <issue
618 id="NewApi"
619 message="Call requires API level 33 (current min is 26): `android.window.OnBackInvokedDispatcher#registerOnBackInvokedCallback`">
620 <location
621 file="packages/apps/Launcher3/src/com/android/launcher3/BaseActivity.java"
622 line="182"/>
623 </issue>
624
Pedro Loureiro1e296c12021-03-09 18:35:52 +0000625</issues>