From 907d7169f0121c869018879a5b0080e722f0025d Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Fri, 24 Jun 2022 14:56:23 +0900 Subject: [PATCH] Set min_sdk_version This was done via the hard-coded list in build/soong. Bug: 158059172 Test: m Merged-In: Ie6dc1f59b459ec01605d796a4d81be04bc1d07da Change-Id: Ie6dc1f59b459ec01605d796a4d81be04bc1d07da --- Android.bp | 1 + libs/protoutil/Android.bp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index b0a1f93acd975..287f271be3849 100644 --- a/Android.bp +++ b/Android.bp @@ -298,6 +298,7 @@ java_defaults { "contacts-provider-platform-compat-config", ], libs: [ + "androidx.annotation_annotation", "app-compat-annotations", "ext", "framework-updatable-stubs-module_libs_api", diff --git a/libs/protoutil/Android.bp b/libs/protoutil/Android.bp index 132d71eb6db8c..128be3c33ac56 100644 --- a/libs/protoutil/Android.bp +++ b/libs/protoutil/Android.bp @@ -55,6 +55,7 @@ cc_library { export_include_dirs: ["include"], + min_sdk_version: "30", apex_available: [ "//apex_available:platform", "com.android.os.statsd", @@ -81,5 +82,5 @@ cc_test { proto: { type: "full", - } + }, }