forked from LawnchairLauncher/lawnchair
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk. It has produced a lot of errors and adding the baseline file(s) allows us to continue work without introducing more problems. Bug: 150847901 Test: m lint-check Change-Id: I827a5b21dd52448d4f68da6743a1a1632d99573d
- Loading branch information
Pedro Loureiro
authored and
Anton Hansson
committed
Apr 12, 2021
1 parent
5ecf571
commit 1e296c1
Showing
5 changed files
with
1,260 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0"> | ||
|
||
<issue | ||
id="NewApi" | ||
message="`?android:attr/dialogCornerRadius` requires API level 28 (current min is 26)" | ||
errorLine1=" android:topLeftRadius="?android:attr/dialogCornerRadius"" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="packages/apps/Launcher3/res/drawable/add_item_dialog_background.xml" | ||
line="6" | ||
column="9"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="`?android:attr/dialogCornerRadius` requires API level 28 (current min is 26)" | ||
errorLine1=" android:topRightRadius="?android:attr/dialogCornerRadius" />" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="packages/apps/Launcher3/res/drawable/add_item_dialog_background.xml" | ||
line="7" | ||
column="9"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="`@android:style/Widget.DeviceDefault.Button.Colored` requires API level 28 (current min is 26)" | ||
errorLine1=" <style name="Widget.DeviceDefault.Button.Rounded.Colored" parent="@android:style/Widget.DeviceDefault.Button.Colored">" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="packages/apps/Launcher3/res/values/styles.xml" | ||
line="287" | ||
column="63"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="`@android:dimen/system_app_widget_background_radius` requires API level 31 (current min is 26)" | ||
errorLine1=" <corners android:radius="@android:dimen/system_app_widget_background_radius" />" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="packages/apps/Launcher3/res/drawable/widget_resize_frame.xml" | ||
line="20" | ||
column="14"/> | ||
</issue> | ||
|
||
</issues> |
Oops, something went wrong.