diff options
author | Anton Hansson <hansson@google.com> | 2018-02-22 16:09:58 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-22 16:09:58 +0000 |
commit | cc66de36ee157a5ed1f3ab79238e735a40321a2e (patch) | |
tree | 0e2ed90c21afe0188ac69dac11764aaf8a2b02a8 /tests | |
parent | d9a510dc01d61786b13295b6e0e1d08bda9ab242 (diff) | |
download | android_packages_apps_CarrierConfig-cc66de36ee157a5ed1f3ab79238e735a40321a2e.tar.gz android_packages_apps_CarrierConfig-cc66de36ee157a5ed1f3ab79238e735a40321a2e.tar.bz2 android_packages_apps_CarrierConfig-cc66de36ee157a5ed1f3ab79238e735a40321a2e.zip |
packages/apps/CarrierConfig: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: I3b198acd2579e63fb0a5f8341db9e051f0c8d569
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk index fe6aa71..32982d4 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -9,6 +9,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := CarrierConfigTests +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_CERTIFICATE := platform |