| 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 29): `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 29): `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 29): `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 29): `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 29): `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 29): `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 29): `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 31 (current min is 29): `android.graphics.Rect#inset`" | 
 | 84 |         errorLine1="        potentialTaskRect.inset(insets.left, insets.top, insets.right, insets.bottom);" | 
 | 85 |         errorLine2="                          ~~~~~"> | 
 | 86 |         <location | 
 | 87 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java" | 
 | 88 |             line="248" | 
 | 89 |             column="27"/> | 
 | 90 |     </issue> | 
 | 91 |  | 
 | 92 |     <issue | 
 | 93 |         id="NewApi" | 
 | 94 |         message="Call requires API level 31 (current min is 29): `android.graphics.Rect#inset`" | 
 | 95 |         errorLine1="        potentialTaskRect.inset(" | 
 | 96 |         errorLine2="                          ~~~~~"> | 
 | 97 |         <location | 
 | 98 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java" | 
 | 99 |             line="249" | 
 | 100 |             column="27"/> | 
 | 101 |     </issue> | 
 | 102 |  | 
 | 103 |     <issue | 
 | 104 |         id="NewApi" | 
 | 105 |         message="Call requires API level 31 (current min is 29): `android.graphics.Rect#inset`" | 
 | 106 |         errorLine1="        outRect.inset(Math.max(insets.left, sideMargin), Math.max(insets.top, topMargin)," | 
 | 107 |         errorLine2="                ~~~~~"> | 
 | 108 |         <location | 
 | 109 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java" | 
 | 110 |             line="291" | 
 | 111 |             column="17"/> | 
 | 112 |     </issue> | 
 | 113 |  | 
 | 114 |     <issue | 
 | 115 |         id="NewApi" | 
 | 116 |         message="Call requires API level 31 (current min is 29): `android.graphics.Rect#inset`" | 
 | 117 |         errorLine1="        gridRect.inset(0, dp.overviewTaskThumbnailTopMarginPx, 0, 0);" | 
 | 118 |         errorLine2="                 ~~~~~"> | 
 | 119 |         <location | 
 | 120 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/BaseActivityInterface.java" | 
 | 121 |             line="315" | 
 | 122 |             column="18"/> | 
 | 123 |     </issue> | 
 | 124 |  | 
 | 125 |     <issue | 
 | 126 |         id="NewApi" | 
 | 127 |         message="Call requires API level R (current min is 29): `android.view.WindowManager#getCurrentWindowMetrics`" | 
 | 128 |         errorLine1="                    .getCurrentWindowMetrics().getWindowInsets();" | 
 | 129 |         errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~~"> | 
 | 130 |         <location | 
 | 131 |             file="packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java" | 
 | 132 |             line="236" | 
 | 133 |             column="22"/> | 
 | 134 |     </issue> | 
 | 135 |  | 
 | 136 |     <issue | 
 | 137 |         id="NewApi" | 
 | 138 |         message="Call requires API level R (current min is 29): `android.view.WindowMetrics#getWindowInsets`" | 
 | 139 |         errorLine1="                    .getCurrentWindowMetrics().getWindowInsets();" | 
 | 140 |         errorLine2="                                               ~~~~~~~~~~~~~~~"> | 
 | 141 |         <location | 
 | 142 |             file="packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java" | 
 | 143 |             line="236" | 
 | 144 |             column="48"/> | 
 | 145 |     </issue> | 
 | 146 |  | 
 | 147 |     <issue | 
 | 148 |         id="NewApi" | 
 | 149 |         message="Call requires API level R (current min is 29): `android.content.Context#getDisplay`" | 
 | 150 |         errorLine1="            if (mContext.getDisplay() != null) {" | 
 | 151 |         errorLine2="                         ~~~~~~~~~~"> | 
 | 152 |         <location | 
 | 153 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/EdgeBackGestureHandler.java" | 
 | 154 |             line="115" | 
 | 155 |             column="26"/> | 
 | 156 |     </issue> | 
 | 157 |  | 
 | 158 |     <issue | 
 | 159 |         id="NewApi" | 
 | 160 |         message="Call requires API level R (current min is 29): `android.content.Context#getDisplay`" | 
 | 161 |         errorLine1="                mContext.getDisplay().getRealSize(mDisplaySize);" | 
 | 162 |         errorLine2="                         ~~~~~~~~~~"> | 
 | 163 |         <location | 
 | 164 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/EdgeBackGestureHandler.java" | 
 | 165 |             line="116" | 
 | 166 |             column="26"/> | 
 | 167 |     </issue> | 
 | 168 |  | 
 | 169 |     <issue | 
 | 170 |         id="NewApi" | 
 | 171 |         message="Call requires API level R (current min is 29): `android.content.ContextWrapper#getDisplay`" | 
 | 172 |         errorLine1="        Display display = getDisplay();" | 
 | 173 |         errorLine2="                          ~~~~~~~~~~"> | 
 | 174 |         <location | 
 | 175 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/GestureSandboxActivity.java" | 
 | 176 |             line="153" | 
 | 177 |             column="27"/> | 
 | 178 |     </issue> | 
 | 179 |  | 
 | 180 |     <issue | 
 | 181 |         id="NewApi" | 
 | 182 |         message="Call requires API level R (current min is 29): `java.util.List#of`" | 
 | 183 |         errorLine1="                    List.of(new Rect(0, 0, metrics.widthPixels, metrics.heightPixels)));" | 
 | 184 |         errorLine2="                         ~~"> | 
 | 185 |         <location | 
 | 186 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/GestureSandboxActivity.java" | 
 | 187 |             line="158" | 
 | 188 |             column="26"/> | 
 | 189 |     </issue> | 
 | 190 |  | 
 | 191 |     <issue | 
 | 192 |         id="NewApi" | 
 | 193 |         message="Call requires API level 31 (current min is 29): `android.appwidget.AppWidgetHostView#resetColorResources`" | 
 | 194 |         errorLine1="            resetColorResources();" | 
 | 195 |         errorLine2="            ~~~~~~~~~~~~~~~~~~~"> | 
 | 196 |         <location | 
 | 197 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java" | 
 | 198 |             line="137" | 
 | 199 |             column="13"/> | 
 | 200 |     </issue> | 
 | 201 |  | 
 | 202 |     <issue | 
 | 203 |         id="NewApi" | 
 | 204 |         message="Call requires API level R (current min is 29): `java.util.List#of`" | 
 | 205 |         errorLine1="            mColorExtractor.addLocation(List.of(mLastLocationRegistered));" | 
 | 206 |         errorLine2="                                             ~~"> | 
 | 207 |         <location | 
 | 208 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java" | 
 | 209 |             line="367" | 
 | 210 |             column="46"/> | 
 | 211 |     </issue> | 
 | 212 |  | 
 | 213 |     <issue | 
 | 214 |         id="NewApi" | 
 | 215 |         message="Call requires API level R (current min is 29): `java.util.List#of`" | 
 | 216 |         errorLine1="                mColorExtractor.addLocation(List.of(mLastLocationRegistered));" | 
 | 217 |         errorLine2="                                                 ~~"> | 
 | 218 |         <location | 
 | 219 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java" | 
 | 220 |             line="390" | 
 | 221 |             column="50"/> | 
 | 222 |     </issue> | 
 | 223 |  | 
 | 224 |     <issue | 
 | 225 |         id="NewApi" | 
 | 226 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeWidth`" | 
 | 227 |         errorLine1="                (ATLEAST_S && maxResizeWidth > 0)" | 
 | 228 |         errorLine2="                              ~~~~~~~~~~~~~~"> | 
 | 229 |         <location | 
 | 230 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 231 |             line="91" | 
 | 232 |             column="31"/> | 
 | 233 |     </issue> | 
 | 234 |  | 
 | 235 |     <issue | 
 | 236 |         id="NewApi" | 
 | 237 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeWidth`" | 
 | 238 |         errorLine1="                        ? getSpanX(widgetPadding, maxResizeWidth, smallestCellWidth)" | 
 | 239 |         errorLine2="                                                  ~~~~~~~~~~~~~~"> | 
 | 240 |         <location | 
 | 241 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 242 |             line="92" | 
 | 243 |             column="51"/> | 
 | 244 |     </issue> | 
 | 245 |  | 
 | 246 |     <issue | 
 | 247 |         id="NewApi" | 
 | 248 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeHeight`" | 
 | 249 |         errorLine1="                (ATLEAST_S && maxResizeHeight > 0)" | 
 | 250 |         errorLine2="                              ~~~~~~~~~~~~~~~"> | 
 | 251 |         <location | 
 | 252 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 253 |             line="95" | 
 | 254 |             column="31"/> | 
 | 255 |     </issue> | 
 | 256 |  | 
 | 257 |     <issue | 
 | 258 |         id="NewApi" | 
 | 259 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#maxResizeHeight`" | 
 | 260 |         errorLine1="                        ? getSpanY(widgetPadding, maxResizeHeight, smallestCellHeight)" | 
 | 261 |         errorLine2="                                                  ~~~~~~~~~~~~~~~"> | 
 | 262 |         <location | 
 | 263 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 264 |             line="96" | 
 | 265 |             column="51"/> | 
 | 266 |     </issue> | 
 | 267 |  | 
 | 268 |     <issue | 
 | 269 |         id="NewApi" | 
 | 270 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`" | 
 | 271 |         errorLine1="        if (ATLEAST_S && targetCellWidth >= minSpanX && targetCellWidth <= maxSpanX" | 
 | 272 |         errorLine2="                         ~~~~~~~~~~~~~~~"> | 
 | 273 |         <location | 
 | 274 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 275 |             line="101" | 
 | 276 |             column="26"/> | 
 | 277 |     </issue> | 
 | 278 |  | 
 | 279 |     <issue | 
 | 280 |         id="NewApi" | 
 | 281 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`" | 
 | 282 |         errorLine1="        if (ATLEAST_S && targetCellWidth >= minSpanX && targetCellWidth <= maxSpanX" | 
 | 283 |         errorLine2="                                                        ~~~~~~~~~~~~~~~"> | 
 | 284 |         <location | 
 | 285 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 286 |             line="101" | 
 | 287 |             column="57"/> | 
 | 288 |     </issue> | 
 | 289 |  | 
 | 290 |     <issue | 
 | 291 |         id="NewApi" | 
 | 292 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`" | 
 | 293 |         errorLine1="                && targetCellHeight >= minSpanY && targetCellHeight <= maxSpanY) {" | 
 | 294 |         errorLine2="                   ~~~~~~~~~~~~~~~~"> | 
 | 295 |         <location | 
 | 296 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 297 |             line="102" | 
 | 298 |             column="20"/> | 
 | 299 |     </issue> | 
 | 300 |  | 
 | 301 |     <issue | 
 | 302 |         id="NewApi" | 
 | 303 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`" | 
 | 304 |         errorLine1="                && targetCellHeight >= minSpanY && targetCellHeight <= maxSpanY) {" | 
 | 305 |         errorLine2="                                                   ~~~~~~~~~~~~~~~~"> | 
 | 306 |         <location | 
 | 307 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 308 |             line="102" | 
 | 309 |             column="52"/> | 
 | 310 |     </issue> | 
 | 311 |  | 
 | 312 |     <issue | 
 | 313 |         id="NewApi" | 
 | 314 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellWidth`" | 
 | 315 |         errorLine1="            spanX = targetCellWidth;" | 
 | 316 |         errorLine2="                    ~~~~~~~~~~~~~~~"> | 
 | 317 |         <location | 
 | 318 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 319 |             line="103" | 
 | 320 |             column="21"/> | 
 | 321 |     </issue> | 
 | 322 |  | 
 | 323 |     <issue | 
 | 324 |         id="NewApi" | 
 | 325 |         message="Field requires API level 31 (current min is 29): `android.appwidget.AppWidgetProviderInfo#targetCellHeight`" | 
 | 326 |         errorLine1="            spanY = targetCellHeight;" | 
 | 327 |         errorLine2="                    ~~~~~~~~~~~~~~~~"> | 
 | 328 |         <location | 
 | 329 |             file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java" | 
 | 330 |             line="104" | 
 | 331 |             column="21"/> | 
 | 332 |     </issue> | 
 | 333 |  | 
 | 334 |     <issue | 
 | 335 |         id="NewApi" | 
 | 336 |         message="Call requires API level R (current min is 29): `android.content.Context#getDisplay`" | 
 | 337 |         errorLine1="        final Display display = mContext.getDisplay();" | 
 | 338 |         errorLine2="                                         ~~~~~~~~~~"> | 
 | 339 |         <location | 
 | 340 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/NavBarGestureHandler.java" | 
 | 341 |             line="94" | 
 | 342 |             column="42"/> | 
 | 343 |     </issue> | 
 | 344 |  | 
 | 345 |     <issue | 
 | 346 |         id="NewApi" | 
 | 347 |         message="Call requires API level 31 (current min is 29): `android.content.pm.LauncherActivityInfo#getLoadingProgress`" | 
 | 348 |         errorLine1="            return (int) (100 * info.getLoadingProgress());" | 
 | 349 |         errorLine2="                                     ~~~~~~~~~~~~~~~~~~"> | 
 | 350 |         <location | 
 | 351 |             file="packages/apps/Launcher3/src/com/android/launcher3/util/PackageManagerHelper.java" | 
 | 352 |             line="338" | 
 | 353 |             column="38"/> | 
 | 354 |     </issue> | 
 | 355 |  | 
 | 356 |     <issue | 
 | 357 |         id="NewApi" | 
 | 358 |         message="Call requires API level R (current min is 29): `java.util.List#of`" | 
 | 359 |         errorLine1="    private List<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 29): `java.util.List#of`" | 
 | 370 |         errorLine1="    private List<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 29): `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 29): `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 29): `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 29)" | 
 | 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 29): `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 29): `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 29): `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 29): `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 R (current min is 29): `android.view.WindowManager.LayoutParams#setFitInsetsTypes`" | 
 | 469 |         errorLine1="        mWindowLayoutParams.setFitInsetsTypes(0);" | 
 | 470 |         errorLine2="                            ~~~~~~~~~~~~~~~~~"> | 
 | 471 |         <location | 
 | 472 |             file="packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/TaskbarController.java" | 
 | 473 |             line="316" | 
 | 474 |             column="29"/> | 
 | 475 |     </issue> | 
 | 476 |  | 
 | 477 |     <issue | 
 | 478 |         id="NewApi" | 
 | 479 |         message="Call requires API level R (current min is 29): `android.view.WindowInsets#getInsets`" | 
 | 480 |         errorLine1="            Insets systemInsets = insets.getInsets(WindowInsets.Type.systemBars());" | 
 | 481 |         errorLine2="                                         ~~~~~~~~~"> | 
 | 482 |         <location | 
 | 483 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/TutorialFragment.java" | 
 | 484 |             line="118" | 
 | 485 |             column="42"/> | 
 | 486 |     </issue> | 
 | 487 |  | 
 | 488 |     <issue | 
 | 489 |         id="NewApi" | 
 | 490 |         message="Call requires API level R (current min is 29): `android.view.WindowInsets.Type#systemBars`" | 
 | 491 |         errorLine1="            Insets systemInsets = insets.getInsets(WindowInsets.Type.systemBars());" | 
 | 492 |         errorLine2="                                                                     ~~~~~~~~~~"> | 
 | 493 |         <location | 
 | 494 |             file="packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/TutorialFragment.java" | 
 | 495 |             line="118" | 
 | 496 |             column="70"/> | 
 | 497 |     </issue> | 
 | 498 |  | 
 | 499 |     <issue | 
 | 500 |         id="NewApi" | 
 | 501 |         message="Call requires API level 31 (current min is 29): `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 29): `android.appwidget.AppWidgetProviderInfo#previewLayout`" | 
 | 513 |         errorLine1="                && 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 29): `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 29): `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 29): `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 29): `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 29): `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 | </issues> |