diff options
author | Anton Hansson <hansson@google.com> | 2018-02-22 16:12:41 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-22 16:12:41 +0000 |
commit | 9b98f743f2f23ea072c7c97d806b07fe9d49440f (patch) | |
tree | f886faedc08dc6cea5597e2e147733e65458fe08 | |
parent | e3670e02cced7379ac569e32a3556d7b256add31 (diff) | |
download | Terminal-9b98f743f2f23ea072c7c97d806b07fe9d49440f.tar.gz |
packages/apps/Terminal: 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-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-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: I6030d1c8c815fcfe0e3bd048b173eaa1500b617a
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,6 +14,7 @@ LOCAL_JNI_SHARED_LIBRARIES := libjni_terminal LOCAL_PROGUARD_ENABLED := disabled LOCAL_PACKAGE_NAME := Terminal +LOCAL_PRIVATE_PLATFORM_APIS := true include $(BUILD_PACKAGE) |