aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjeet Rulhania <mrulhania@google.com>2022-06-27 16:45:14 +0000
committerManjeet Rulhania <mrulhania@google.com>2022-07-12 21:40:25 +0000
commitbb43be6d6834a76728dae1319288b0005cfba964 (patch)
tree7fe1167e4b7ea10177d0b2d5bfae8e8b451a60db
parent02776ec00fc1cd0fee348ba5c9950fb53b5736a0 (diff)
downloadguava-bb43be6d6834a76728dae1319288b0005cfba964.tar.gz
Add permission apex entry
This is to include lottie dependency in permission controller app. Fix: 232947021 Test: N/A Change-Id: Ic8d66ac3a15e7a824ea77b413de4a8b1c495efbd
-rw-r--r--Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 376abe982..c1c6a0626 100644
--- a/Android.bp
+++ b/Android.bp
@@ -150,11 +150,18 @@ java_library_host {
// Compile dummy implementations of annotations used by guava but not
// present in the Android tree.
+// 30 may not be the lowest min_sdk_version, but the min sdk version
+// for permission controller.
java_library {
name: "guava-android-annotation-stubs",
host_supported: true,
sdk_version: "core_current",
+ min_sdk_version: "30",
srcs: ["android-annotation-stubs/src/**/*.java"],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.permission",
+ ],
}
// Compile guava testlib