diff options
author | Anton Hansson <hansson@google.com> | 2018-02-22 18:07:43 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-22 18:07:43 +0000 |
commit | 0183735bcdce20b953e1ac26ebacd1f8ca586c03 (patch) | |
tree | 3d2e1ab42246b80a957dbc0fcf9603a75ee1dc40 | |
parent | 1ece80f65269ec4ca57f6573c302d97d64f055b5 (diff) | |
download | android_packages_screensavers_Basic-0183735bcdce20b953e1ac26ebacd1f8ca586c03.tar.gz android_packages_screensavers_Basic-0183735bcdce20b953e1ac26ebacd1f8ca586c03.tar.bz2 android_packages_screensavers_Basic-0183735bcdce20b953e1ac26ebacd1f8ca586c03.zip |
packages/screensavers/Basic: 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: I96dafb07cef56c70f01ced8d5b5b8a71d2773a1f
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := BasicDreams +LOCAL_PRIVATE_PLATFORM_APIS := true # need tasty bits # LOCAL_CERTIFICATE := platform |