diff options
author | Anton Hansson <hansson@google.com> | 2018-02-22 16:09:15 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-22 16:09:15 +0000 |
commit | d1e33a6afdb4037c7f0903e7abee8ee93c5d3047 (patch) | |
tree | b0aa9e60f3ba41b71d33deae749356029d98727f | |
parent | c545e39302e9c814451ad217e927f3a96a3941a3 (diff) | |
download | Media-o-mr1-iot-preview-8.tar.gz |
packages/apps/Car/Media: 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: Idc1938fe740614e3cc7004dfce4efbf1c762e0f9
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res LOCAL_PACKAGE_NAME := CarMediaApp +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_CERTIFICATE := platform |