summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-21 14:11:44 +0000
committerJan Altensen <info@stricted.net>2020-03-20 14:56:43 +0100
commite603bb91e6048b5b89b588779152603b710c23fa (patch)
tree890e314a6596839f74c6758393a1d9204125f5c0
parent7acbd6f73553aef997ff9918cd4f811dfc4867ee (diff)
downloadandroid_hardware_samsung-e603bb91e6048b5b89b588779152603b710c23fa.tar.gz
android_hardware_samsung-e603bb91e6048b5b89b588779152603b710c23fa.tar.bz2
android_hardware_samsung-e603bb91e6048b5b89b588779152603b710c23fa.zip
samsung: doze: Set LOCAL_PRIVATE_PLATFORM_APIS
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. Bug: 73535841 Change-Id: Iabb0556dc1c80c7fc7f6c76d61d5e441b03cdce0
-rw-r--r--doze/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/doze/Android.mk b/doze/Android.mk
index 4f9f904..aff1695 100644
--- a/doze/Android.mk
+++ b/doze/Android.mk
@@ -7,6 +7,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := SamsungDoze
LOCAL_CERTIFICATE := platform
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_PRIVILEGED_MODULE := true
LOCAL_USE_AAPT2 := true