diff options
author | Anton Hansson <hansson@google.com> | 2018-02-28 14:25:37 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-03-01 12:25:28 +0000 |
commit | 0af16e0a196a9253d305bd56a5fbfad58ff72f74 (patch) | |
tree | 3091c11abe2175365af5302e0e3409f826997d4e | |
parent | 77b17c8c8c0039d2d71df98d057f1eee436c4f21 (diff) | |
download | platform_packages_apps_Car_Stream-0af16e0a196a9253d305bd56a5fbfad58ff72f74.tar.gz platform_packages_apps_Car_Stream-0af16e0a196a9253d305bd56a5fbfad58ff72f74.tar.bz2 platform_packages_apps_Car_Stream-0af16e0a196a9253d305bd56a5fbfad58ff72f74.zip |
packages/apps/Car/Stream: Set LOCAL_SDK_VERSION where possible.android-wear-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-mr1-iot-preview-7
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: I69b00503eb125fe1aef65a5d7ba87c0f9c613a07
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ LOCAL_AAPT_FLAGS += --extra-packages com.android.car.radio.service LOCAL_STATIC_JAVA_LIBRARIES += car-radio-service LOCAL_PACKAGE_NAME := Stream +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_MODULE_TAGS := optional |