aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 0db44d2..b160c15 100644
--- a/Android.bp
+++ b/Android.bp
@@ -140,7 +140,7 @@ java_library {
java_library {
name: "okhttp-norepackage",
host_supported: true,
-
+ apex_available: ["com.android.adservices"],
visibility: [
"//art/build/sdk",
"//external/grpc-grpc-java/okhttp",
@@ -164,6 +164,8 @@ java_library {
// Build against a "core_current" as it cannot use "current" as it has to
// build in manifests without frameworks/base.
sdk_version: "core_current",
+ // Make sure that this will be added to the sdk snapshot for S.
+ min_sdk_version: "S",
}
// Generate Version.java based on the version number from pom.xml.