From 9201863b712d7aac1a0085c2138990d04e4fbdb7 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Thu, 22 Feb 2018 16:11:48 +0000 Subject: packages/apps/DocumentsUI: 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: Ia8cb832ecb40050a5573959dab15e2deec0fb4c0 --- app-perf-tests/Android.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'app-perf-tests') diff --git a/app-perf-tests/Android.mk b/app-perf-tests/Android.mk index 4db20a7bb..76af3c58e 100644 --- a/app-perf-tests/Android.mk +++ b/app-perf-tests/Android.mk @@ -3,6 +3,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := tests #LOCAL_SDK_VERSION := current +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_SRC_FILES := $(call all-java-files-under, src) \ -- cgit v1.2.3-59-g8ed1b