Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d6cf7e5 authored by mattgilbride's avatar mattgilbride Committed by Matt Gilbride
Browse files

Disable new lint checks from Android Studio

PermissionImpliesUnsupportedChromeOsHardware
is ChromeOS specific and does not apply to the
Android tree, thus disabled.

UnsafeImplicitIntentLaunch surfaces false
positives and crashes in a specific corner case.
Disable until the related detector can surface
errors only when it is certain the intent will
get launched.

InvalidId gives false positives due to the package
name that is used in several places in platform.

Bug: 264608708
Test: TH
Change-Id: I441ba27a6fa97ed674145a051944dce4280692cd
parent add695f7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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