From cc66de36ee157a5ed1f3ab79238e735a40321a2e Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Thu, 22 Feb 2018 16:09:58 +0000 Subject: 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 --- tests/Android.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 -- cgit v1.2.3