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

Commit da28323a authored by Spandan Das's avatar Spandan Das Committed by Automerger Merge Worker
Browse files

Disable newapi check in defaults am: 2a42e554

parents f4875cf3 2a42e554
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -28,6 +28,11 @@
--disable_check SuspiciousImport
--disable_check UnusedResources
--disable_check ViewConstructor
# Disable NewApi checks for the platform since platform is the one that implements
# the API. This prevents noisy lint warnings like b/228956345#1
# 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

# Downgrade existing errors to warnings
--warning_check AppCompatResource                  # 55 occurences in 10 modules
@@ -66,7 +71,6 @@
--warning_check MissingTvBanner                    # 3 occurences in 3 modules
--warning_check NamespaceTypo                      # 3 occurences in 3 modules
--warning_check NetworkSecurityConfig              # 46 occurences in 12 modules
--warning_check NewApi                             # 1996 occurences in 122 modules
--warning_check NotSibling                         # 15 occurences in 10 modules
--warning_check ObjectAnimatorBinding              # 14 occurences in 5 modules
--warning_check OnClick                            # 49 occurences in 21 modules