aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Gilbride <mattgilbride@google.com>2023-03-13 18:03:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-03-13 18:03:46 +0000
commit34127be4e98fe779dbd1ab492b0d0dd7f1d9447b (patch)
tree0b9a2a9d216826d69ace23dee3ebcd094f9ffbbe
parent601fc0137e06c07f3f8ff922ae7c09001822e3fe (diff)
parent9d6cf7e5980e3077bc041aeb02b40e9b481edd7e (diff)
downloadsoong-34127be4e98fe779dbd1ab492b0d0dd7f1d9447b.tar.gz
Merge "Disable new lint checks from Android Studio"
-rw-r--r--java/lint_defaults.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/lint_defaults.txt b/java/lint_defaults.txt
index 061f4d0db..1bb49962c 100644
--- a/java/lint_defaults.txt
+++ b/java/lint_defaults.txt
@@ -40,6 +40,13 @@
# NewApi checks will continue to be enforced for apex deps since
# lint.strict_updatability_linting will be true for those Soong modules
--disable_check NewApi
+# Disable ChromeOS specific checks
+--disable_check PermissionImpliesUnsupportedChromeOsHardware
+# Disable UnsafeImplicitIntentLaunch until it can avoid false positives/crash
+# TODO(265425607)
+--disable_check UnsafeImplicitIntentLaunch
+# InvalidId will give errors on ids defined like android:id="@androidprv:id/contentPanel"
+--disable_check InvalidId
# Downgrade existing errors to warnings
--warning_check AppCompatResource # 55 occurences in 10 modules