diff options
| author | Pedro Loureiro <pedroql@google.com> | 2021-02-25 15:32:01 +0000 |
|---|---|---|
| committer | Pedro Loureiro <pedroql@google.com> | 2021-04-14 10:49:32 +0000 |
| commit | 00d4ca91751371101a5bd7c259414467b3653ffe (patch) | |
| tree | b439caa2a0dea22e437958332f9f7832df05d0f6 /common/lint-baseline.xml | |
| parent | 674a5ceeb7fdfaf1c9756241d7acf4483d9e49ae (diff) | |
| download | platform_packages_apps_TV-00d4ca91751371101a5bd7c259414467b3653ffe.tar.gz platform_packages_apps_TV-00d4ca91751371101a5bd7c259414467b3653ffe.tar.bz2 platform_packages_apps_TV-00d4ca91751371101a5bd7c259414467b3653ffe.zip | |
Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.
Bug: 150847901
Test: m lint-check
Change-Id: I0f742764a5be7e225ffbea88eb767c155658c66c
Merged-In: I0f742764a5be7e225ffbea88eb767c155658c66c
Diffstat (limited to 'common/lint-baseline.xml')
| -rw-r--r-- | common/lint-baseline.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/lint-baseline.xml b/common/lint-baseline.xml new file mode 100644 index 00000000..b6f9dfcb --- /dev/null +++ b/common/lint-baseline.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0"> + + <issue + id="NewApi" + message="Call requires API level 26 (current min is 23): `android.os.StrictMode.VmPolicy.Builder#detectContentUriWithoutPermission`" + errorLine1=" .detectContentUriWithoutPermission()" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + <location + file="packages/apps/TV/common/src/com/android/tv/common/BaseApplication.java" + line="84" + column="30"/> + </issue> + +</issues> |
