diff options
Diffstat (limited to 'android/source/lint-baseline.xml')
-rw-r--r-- | android/source/lint-baseline.xml | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/android/source/lint-baseline.xml b/android/source/lint-baseline.xml index 01fdd6f8d234..d973b4c4b078 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.3.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.2)" variant="all" version="8.3.2"> +<issues format="6" by="lint 8.4.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.4.0)" variant="all" version="8.4.0"> <issue id="ScopedStorage" @@ -124,7 +124,7 @@ <issue id="QueryPermissionsNeeded" - message="Consider adding a `<queries>` declaration to your manifest when calling this \
method; see https://g.co/dev/packagevisibility for details" + message="Consider adding a `<queries>` declaration to your manifest when calling this method; see https://g.co/dev/packagevisibility for details" errorLine1=" if (takePictureIntent.resolveActivity(mContext.getPackageManager()) != null) {" errorLine2=" ~~~~~~~~~~~~~~~"> <location @@ -135,7 +135,7 @@ <issue id="QueryPermissionsNeeded" - message="Consider adding a `<queries>` declaration to your manifest when calling this \
method; see https://g.co/dev/packagevisibility for details" + message="Consider adding a `<queries>` declaration to your manifest when calling this method; see https://g.co/dev/packagevisibility for details" errorLine1=" .queryIntentActivities(takePictureIntent, PackageManager.MATCH_DEFAULT_ONLY);" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location @@ -145,6 +145,17 @@ </issue> <issue + id="GradleDependency" + message="A newer version of com.google.android.material:material than 1.11.0 is available: 1.12.0" + errorLine1=" implementation 'com.google.android.material:material:1.11.0'" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + <location + file="build.gradle" + line="35" + column="20"/> + </issue> + + <issue id="UnsupportedChromeOsCameraSystemFeature" message="You should look for any camera available on the device, not just the rear" errorLine1=" if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA)) {" @@ -179,6 +190,17 @@ <issue id="DiscouragedApi" + message="Use of `scheduleAtFixedRate` is strongly discouraged because it can lead to unexpected behavior when Android processes become cached (tasks may unexpectedly execute hundreds or thousands of times in quick succession when a process changes from cached to uncached); prefer using `schedule`" + errorLine1=" mAnimationTimer.scheduleAtFixedRate(new TimerTask() {" + errorLine2=" ^"> + <location + file="src/java/org/mozilla/gecko/gfx/JavaPanZoomController.java" + line="526" + column="9"/> + </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=" ~~~~~~~~~~~~~"> |