summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-22 18:07:16 +0000
committerAnton Hansson <hansson@google.com>2018-02-22 18:07:16 +0000
commitab6d409772175bde7aa399fdb30743f370e43c57 (patch)
treee6eccef173bd74787a58449e3458d76830de05b9 /ui
parent726cb52790f232711fd5e5497faa7bfb7f69fbf2 (diff)
downloadandroid_packages_providers_DownloadProvider-ab6d409772175bde7aa399fdb30743f370e43c57.tar.gz
android_packages_providers_DownloadProvider-ab6d409772175bde7aa399fdb30743f370e43c57.tar.bz2
android_packages_providers_DownloadProvider-ab6d409772175bde7aa399fdb30743f370e43c57.zip
packages/providers/DownloadProvider: 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: Ic2019b11a0dfb30b2dedb840011b365228e7786a
Diffstat (limited to 'ui')
-rw-r--r--ui/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/Android.mk b/ui/Android.mk
index 9a545550..0768a30a 100644
--- a/ui/Android.mk
+++ b/ui/Android.mk
@@ -10,6 +10,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \
../src/com/android/providers/downloads/RawDocumentsHelper.java
LOCAL_PACKAGE_NAME := DownloadProviderUi
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := media
include $(BUILD_PACKAGE)