mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-16 17:18:21 +00:00
NewApi is a lint check that you don't call framework methods that were introduced in versions later than your min_sdk_version. We want to make this an error, so we're baselineing all existing issues. This cl was generated automatically, by taking all the NewApi issues from the reference baselines, and all the non-NewApi issues from the existing checked in baselines. Bug: 268261262 Test: Presubmits Change-Id: Ibfbf5af12819d43dabd4b6c0eb12a4d0e8258f30
169 lines
7.4 KiB
XML
169 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 29 (current min is 26): `android.content.res.Resources#getFloat`"
|
|
errorLine1=" return mContext.getResources().getFloat(resId);"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/util/DynamicResource.java"
|
|
line="73"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 26): `android.appwidget.AppWidgetHostView#resetColorResources`"
|
|
errorLine1=" resetColorResources();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/widget/LauncherAppWidgetHostView.java"
|
|
line="117"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `android.appwidget.AppWidgetHostView#setColorResources`"
|
|
errorLine1=" view.setColorResources(mWallpaperColorResources);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/graphics/LauncherPreviewRenderer.java"
|
|
line="433"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 28 (current min is 26): `android.app.Person#getKey`"
|
|
errorLine1=" return people.stream().filter(person -> person.getKey() != null)"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/notification/NotificationKeyData.java"
|
|
line="72"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Method reference requires API level 28 (current min is 26): `Person::getKey`"
|
|
errorLine1=" .map(Person::getKey).sorted().toArray(String[]::new);"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/notification/NotificationKeyData.java"
|
|
line="73"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_LEFT`"
|
|
errorLine1=" AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_LEFT"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
|
|
line="1814"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_RIGHT`"
|
|
errorLine1=" : AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_RIGHT);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
|
|
line="1815"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_RIGHT`"
|
|
errorLine1=" AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_RIGHT"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
|
|
line="1823"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 29 (current min is 26): `android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction#ACTION_PAGE_LEFT`"
|
|
errorLine1=" : AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_LEFT);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/PagedView.java"
|
|
line="1824"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 30 (current min is 26): `android.graphics.Outline#setPath`"
|
|
errorLine1=" outline.setPath(mPath);"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/popup/RoundedArrowDrawable.java"
|
|
line="114"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 28 (current min is 26): `android.appwidget.AppWidgetProviderInfo#widgetFeatures`"
|
|
errorLine1=" int featureFlags = mProviderInfo.widgetFeatures;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetAddFlowHandler.java"
|
|
line="93"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 30 (current min is 26): `android.view.View#getWindowInsetsController`"
|
|
errorLine1=" WindowInsetsController insetsController = getWindowInsetsController();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
|
|
line="820"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 30 (current min is 26): `android.view.WindowInsets.Type#ime`"
|
|
errorLine1=" insetsController.hide(WindowInsets.Type.ime());"
|
|
errorLine2=" ~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
|
|
line="822"
|
|
column="53"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 30 (current min is 26): `android.view.WindowInsetsController#hide`"
|
|
errorLine1=" insetsController.hide(WindowInsets.Type.ime());"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java"
|
|
line="822"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Method reference requires API level 28 (current min is 26): `Person::getKey`"
|
|
errorLine1=" : Arrays.stream(persons).map(Person::getKey).sorted().toArray(String[]::new);"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/apps/Launcher3/src/com/android/launcher3/model/data/WorkspaceItemInfo.java"
|
|
line="194"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
</issues> |