summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Qureshi <muhammadq@google.com>2024-02-14 18:59:45 -0800
committerMuhammad Qureshi <muhammadq@google.com>2024-02-14 19:35:29 -0800
commit92bfe739812beec44c20532857713720d5946294 (patch)
tree2cba46988bf152d409df18d4d1066b16310f0218
parentd3d57783b0909ab1004723e9271095e162c434f1 (diff)
downloadPermission-92bfe739812beec44c20532857713720d5946294.tar.gz
Add androidx.annotation_annotation dependency.
stats-log-api-gen adds missing @RequiresApi annotations to the generated StatsLog.write() calls. The library pulling in the changes needs to depend on androidx.annotation_annotation which provides @RequiresApi annotation. Bug: 319044160 Test: m Change-Id: Icf66ea609b4ef709f8d86f99e016a206dd437cab
-rw-r--r--service/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/Android.bp b/service/Android.bp
index ce30e4d62..f6e78ec0f 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -162,6 +162,7 @@ java_library {
":statslog-service-permission-java-gen",
],
libs: [
+ "androidx.annotation_annotation",
"framework-statsd.stubs.module_lib",
],
apex_available: [