commit | 021299d61cc569ef496a0942f6a90a4d8105e687 | [log] [tgz] |
---|---|---|
author | Soonil Nagarkar <sooniln@google.com> | Mon Apr 15 13:22:52 2019 -0700 |
committer | Jiyong Park <jiyong@google.com> | Tue Sep 17 18:14:47 2019 +0900 |
tree | 8c78b24f95ce2fbe9f4f58f18b5b97980065fc93 | |
parent | ae9972bda40fff4b0f67dc31d95e740a6973db72 [diff] [blame] |
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
diff --git a/location/lib/Android.bp b/location/lib/Android.bp index 3cd6ccf..b36aa03 100644 --- a/location/lib/Android.bp +++ b/location/lib/Android.bp
@@ -20,5 +20,8 @@ "java/**/*.java", ":framework-all-sources", ], + libs: [ + "androidx.annotation_annotation", + ], api_packages: ["com.android.location.provider"], }