From 0af16e0a196a9253d305bd56a5fbfad58ff72f74 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Wed, 28 Feb 2018 14:25:37 +0000 Subject: packages/apps/Car/Stream: 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: I69b00503eb125fe1aef65a5d7ba87c0f9c613a07 --- Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.mk b/Android.mk index 6900263..f046515 100644 --- a/Android.mk +++ b/Android.mk @@ -36,6 +36,7 @@ LOCAL_AAPT_FLAGS += --extra-packages com.android.car.radio.service LOCAL_STATIC_JAVA_LIBRARIES += car-radio-service LOCAL_PACKAGE_NAME := Stream +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_MODULE_TAGS := optional -- cgit v1.2.3