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"],
 }