summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Muhammad Qureshi <muhammadq@google.com> 2024-02-14 18:59:45 -0800
committer Muhammad Qureshi <muhammadq@google.com> 2024-03-13 20:36:15 +0000
commitf5a7a1c07e1805470a2364c8874037b81c771dbb (patch)
treecb1ef19d2304187ffa6016daf615fe5751ad40cc
parentdabef3d3f94a1bfc61295efd2f420604f491f1fb (diff)
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. LOW_COVERAGE_REASON=Android.bp change Relnote: N/A Bug: 319044160 Test: m (cherry picked from https://android-review.googlesource.com/q/commit:92bfe739812beec44c20532857713720d5946294) Merged-In: Icf66ea609b4ef709f8d86f99e016a206dd437cab 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 96b8fbb96..6d2cf9b8c 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -154,6 +154,7 @@ java_library {
":statslog-service-permission-java-gen",
],
libs: [
+ "androidx.annotation_annotation",
"framework-statsd.stubs.module_lib",
],
apex_available: [