aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-21 14:11:15 +0000
committerAnton Hansson <hansson@google.com>2018-02-21 14:11:15 +0000
commit37e5131cadaa435c3c7114b3844328b7b67503e5 (patch)
tree0154b1ba8fa251f1805058c6566f8c0e60876fa4 /security
parentd84575ac7e641622b3e7038718857845ea6870da (diff)
downloadandroid-37e5131cadaa435c3c7114b3844328b7b67503e5.tar.gz
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: I9e6a0fd530410950704c96b07f1890dde2ca37a1
Diffstat (limited to 'security')
-rw-r--r--security/FingerprintDialog/Application/src/main/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/FingerprintDialog/Application/src/main/Android.mk b/security/FingerprintDialog/Application/src/main/Android.mk
index 4bb3b0fd..30420c04 100644
--- a/security/FingerprintDialog/Application/src/main/Android.mk
+++ b/security/FingerprintDialog/Application/src/main/Android.mk
@@ -21,6 +21,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
LOCAL_MODULE_TAGS := samples
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := FingerprintDialog
+LOCAL_SDK_VERSION := current
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \
frameworks/support/v7/appcompat/res
LOCAL_AAPT_FLAGS := --auto-add-overlay \