summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2021-07-21 00:15:50 -0700
committerTej Singh <singhtejinder@google.com>2021-07-21 07:24:16 +0000
commita379c50c31bfd849f12da0a99608472667f8c70f (patch)
treeab8fe573323ccb8d8b6c9f9786e2cf4b9312eebc /framework
parent3ff98fb6d5b73205bb9ca237351b6b4d950faf50 (diff)
downloadStatsD-a379c50c31bfd849f12da0a99608472667f8c70f.tar.gz
Enable strict updatability linting for statsd
Enable strict updatability linting on framework-statsd and service-statsd. The main apex module does not support this feature, so this cl adds it to the java libs that statsd has. Test: m Bug: 188852126 Change-Id: I893a72f3ce5cc789d1be8eae7ddaa0b1a0f487b4
Diffstat (limited to 'framework')
-rw-r--r--framework/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/Android.bp b/framework/Android.bp
index 3c7597c7..e2a62bb5 100644
--- a/framework/Android.bp
+++ b/framework/Android.bp
@@ -74,6 +74,10 @@ java_sdk_library {
hostdex: true, // for hiddenapi check
+ lint: {
+ strict_updatability_linting: true
+ },
+
impl_library_visibility: [
"//frameworks/base/apex/statsd/framework/test:__subpackages__",
"//packages/modules/StatsD/framework/test:__subpackages__",