summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andriy Kozachuk <kozachuk@google.com> 2023-05-16 17:13:34 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-05-16 17:13:34 +0000
commit06a32e9b9ad3ef6bd4a502de0e94caa5e10a8db4 (patch)
tree4599c6648c27cc1e60096ca418f98e60736d4d7f
parent13e6bc58d92fe887f8e7a7b3c2f57bea8620ac1d (diff)
parentf507d5625e52aa22086edfa5474df8c62fab73e2 (diff)
Merge "Make "Recycle" Android Lint rule blocking for PackageInstaller"
-rw-r--r--packages/PackageInstaller/Android.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/PackageInstaller/Android.bp b/packages/PackageInstaller/Android.bp
index 47575137558a..565a51ff6aae 100644
--- a/packages/PackageInstaller/Android.bp
+++ b/packages/PackageInstaller/Android.bp
@@ -46,6 +46,10 @@ android_app {
"xz-java",
"androidx.leanback_leanback",
],
+
+ lint: {
+ error_checks: ["Recycle"],
+ },
}
android_app {
@@ -64,6 +68,10 @@ android_app {
"androidx.leanback_leanback",
],
aaptflags: ["--product tablet"],
+
+ lint: {
+ error_checks: ["Recycle"],
+ },
}
android_app {
@@ -82,4 +90,8 @@ android_app {
"androidx.leanback_leanback",
],
aaptflags: ["--product tv"],
+
+ lint: {
+ error_checks: ["Recycle"],
+ },
}