diff options
author | Anton Hansson <hansson@google.com> | 2018-02-22 16:12:25 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-22 16:12:25 +0000 |
commit | 3e5bd08e3fe8de69c4efc70f84fc9363f62f4801 (patch) | |
tree | b86cc5ab72638f2ae125729ec63045ee15f07c38 | |
parent | b070b0f331ae4bd9adb13702a1072b9ef5927b26 (diff) | |
download | SafetyRegulatoryInfo-3e5bd08e3fe8de69c4efc70f84fc9363f62f4801.tar.gz |
packages/apps/SafetyRegulatoryInfo: Set LOCAL_SDK_VERSION where possible.android-wear-p-preview-2android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.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: Ia9fae463164dc2b25be5076c2a2a916d76de694a
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,5 +8,6 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files) LOCAL_PROGUARD_ENABLED := disabled LOCAL_PACKAGE_NAME := SafetyRegulatoryInfo +LOCAL_SDK_VERSION := current include $(BUILD_PACKAGE) |