diff options
author | Anton Hansson <hansson@google.com> | 2018-02-23 15:05:33 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-23 15:06:02 +0000 |
commit | 7781255651886bd2f71603017ce75876765f05c4 (patch) | |
tree | 5ef71b11f491c59f241c4773958f57c6bb01f39f /Android.mk | |
parent | 98417af42c96b11a77f61f2a936775a9259a63c4 (diff) | |
download | android_packages_wallpapers_LivePicker-7781255651886bd2f71603017ce75876765f05c4.tar.gz android_packages_wallpapers_LivePicker-7781255651886bd2f71603017ce75876765f05c4.tar.bz2 android_packages_wallpapers_LivePicker-7781255651886bd2f71603017ce75876765f05c4.zip |
packages/wallpapers/LivePicker: 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: Ic9401c375e04d1e0ad20f93bbb4460dabdc61573
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -42,6 +42,7 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files) LOCAL_REQUIRED_MODULES := android.software.live_wallpaper.xml LOCAL_PACKAGE_NAME := LiveWallpapersPicker +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_CERTIFICATE := platform LOCAL_PROGUARD_FLAG_FILES := proguard.flags |