summaryrefslogtreecommitdiff
path: root/location/lib/Android.bp
diff options
context:
space:
mode:
author Soonil Nagarkar <sooniln@google.com> 2019-04-15 13:22:52 -0700
committer Jiyong Park <jiyong@google.com> 2019-09-17 18:14:47 +0900
commit021299d61cc569ef496a0942f6a90a4d8105e687 (patch)
tree8c78b24f95ce2fbe9f4f58f18b5b97980065fc93 /location/lib/Android.bp
parentae9972bda40fff4b0f67dc31d95e740a6973db72 (diff)
Add RequiresApi annotations to LocationProvider
Ensures that lint tests can run properly from client code which uses this library. Bug: 130188099 Test: manual Merged-In: I1d3c8e486c38633d73c405f2c6f9b350ef1e6946 (cherry picked from commit 44efeaef4da29e1d0a9add7b89151ff0f12ff148) Change-Id: I1d3c8e486c38633d73c405f2c6f9b350ef1e6946
Diffstat (limited to 'location/lib/Android.bp')
-rw-r--r--location/lib/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/location/lib/Android.bp b/location/lib/Android.bp
index 3cd6ccf1ea18..b36aa036daba 100644
--- a/location/lib/Android.bp
+++ b/location/lib/Android.bp
@@ -20,5 +20,8 @@ java_sdk_library {
"java/**/*.java",
":framework-all-sources",
],
+ libs: [
+ "androidx.annotation_annotation",
+ ],
api_packages: ["com.android.location.provider"],
}