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