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 --- perf-tests/Android.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'perf-tests') diff --git a/perf-tests/Android.mk b/perf-tests/Android.mk index 0f4696631..731a8fa06 100644 --- a/perf-tests/Android.mk +++ b/perf-tests/Android.mk @@ -18,6 +18,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \ LOCAL_USE_AAPT2 := true LOCAL_PACKAGE_NAME := DocumentsUIPerfTests +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_INSTRUMENTATION_FOR := DocumentsUI LOCAL_CERTIFICATE := platform -- cgit v1.2.3-59-g8ed1b