summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-21 14:11:44 +0000
committerBruno Martins <bgcngm@gmail.com>2018-08-30 20:09:35 +0100
commit79e57d7581e37b8e2732cce59479a8a0383cd4d2 (patch)
treec0a160294ddcc46266647224f9458e6a052e86fb
parent495898536107c20a2ca57201f1bb3fc7195db19c (diff)
downloadandroid_packages_apps_Profiles-79e57d7581e37b8e2732cce59479a8a0383cd4d2.tar.gz
android_packages_apps_Profiles-79e57d7581e37b8e2732cce59479a8a0383cd4d2.tar.bz2
android_packages_apps_Profiles-79e57d7581e37b8e2732cce59479a8a0383cd4d2.zip
Profiles: 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--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index ff9fdf6..c7f9158 100644
--- a/Android.mk
+++ b/Android.mk
@@ -30,6 +30,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
LOCAL_MODULE_TAGS := optional
LOCAL_CERTIFICATE := platform
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_PACKAGE_NAME := Profiles