diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/source/build.gradle | 2 | ||||
-rw-r--r-- | android/source/lint-baseline.xml | 79 |
2 files changed, 13 insertions, 68 deletions
diff --git a/android/source/build.gradle b/android/source/build.gradle index 090d73f49bfb..8cbef7744d8e 100644 --- a/android/source/build.gradle +++ b/android/source/build.gradle @@ -21,7 +21,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:8.2.1' + classpath 'com.android.tools.build:gradle:8.3.2' } } diff --git a/android/source/lint-baseline.xml b/android/source/lint-baseline.xml index 24e6447295e3..01fdd6f8d234 100644 --- a/android/source/lint-baseline.xml +++ b/android/source/lint-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<issues format="6" by="lint 8.2.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0)" variant="all" version="8.2.0"> +<issues format="6" by="lint 8.3.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.2)" variant="all" version="8.3.2"> <issue id="ScopedStorage" @@ -156,17 +156,6 @@ </issue> <issue - id="PrivateResource" - message="The resource `@drawable/ic_keyboard_black_24dp` is marked as private in com.google.android.material:material:1.10.0" - errorLine1=" android:src="@drawable/ic_keyboard_black_24dp"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="res/drawable-hdpi/ic_keyboard.xml" - line="4" - column="18"/> - </issue> - - <issue id="SpUsage" message="Should use "`sp`" instead of "`dp`" for text sizes" errorLine1=" android:textSize="14dp"" @@ -179,6 +168,17 @@ <issue id="DiscouragedApi" + message="Should not restrict activity to fixed orientation. This may not be suitable for different form factors, causing the app to be letterboxed." + errorLine1=" android:screenOrientation="landscape" >" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + <location + file="AndroidManifest.xml" + line="109" + column="13"/> + </issue> + + <issue + id="DiscouragedApi" message="Use of this function is discouraged because resource reflection makes it harder to perform build optimizations and compile-time verification of code. It is much more efficient to retrieve resources by identifier (e.g. `R.foo.bar`) than by name (e.g. `getIdentifier("bar", "foo", null)`)." errorLine1=" int resourceID = resources.getIdentifier(name, "drawable", packageName);" errorLine2=" ~~~~~~~~~~~~~"> @@ -1214,17 +1214,6 @@ </issue> <issue - id="RedundantNamespace" - message="This namespace declaration is redundant" - errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="res/layout/about.xml" - line="6" - column="15"/> - </issue> - - <issue id="TooDeepLayout" message="`toolbar_bottom.xml` has more than 10 levels, bad for performance" errorLine1=" <ImageButton" @@ -1236,50 +1225,6 @@ </issue> <issue - id="UnusedNamespace" - message="Unused namespace declaration xmlns:android; already declared on the root element" - errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="res/layout/about.xml" - line="6" - column="15"/> - </issue> - - <issue - id="TypographyEllipsis" - message="Replace "..." with ellipsis character (…, &#8230;) ?" - errorLine1=" <string name="action_save_as">Պահել որպես...</string>" - errorLine2=" ~~~~~~~~~~~~~~"> - <location - file="res/values-hy/strings.xml" - line="36" - column="35"/> - </issue> - - <issue - id="TypographyEllipsis" - message="Replace "..." with ellipsis character (…, &#8230;) ?" - errorLine1=" <string name="action_save_as">Cadw Fel...</string>" - errorLine2=" ~~~~~~~~~~~"> - <location - file="res/values-cy/strings.xml" - line="40" - column="35"/> - </issue> - - <issue - id="TypographyEllipsis" - message="Replace "..." with ellipsis character (…, &#8230;) ?" - errorLine1=" <string name="action_save_as">Gardar como...</string>" - errorLine2=" ~~~~~~~~~~~~~~"> - <location - file="res/values-gl/strings.xml" - line="42" - column="35"/> - </issue> - - <issue id="IconLocation" message="Found bitmap drawable `res/drawable/calc.png` in densityless folder"> <location |