summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Hansson2018-02-23 09:50:29 -0600
committerAnton Hansson2018-02-28 05:15:00 -0600
commita526bfa14b168635d010ae1262a7c4a53f7f6af3 (patch)
treef60ae40f3fe4ec5483a1f7f890de1cc669f8858d /car-usb-handler
parent30450c9388d5713f5d5bdd74d04a5e0bdf4f50b9 (diff)
downloadplatform-packages-services-car-a526bfa14b168635d010ae1262a7c4a53f7f6af3.tar.gz
platform-packages-services-car-a526bfa14b168635d010ae1262a7c4a53f7f6af3.tar.xz
platform-packages-services-car-a526bfa14b168635d010ae1262a7c4a53f7f6af3.zip
packages/services/Car: Set LOCAL_SDK_VERSION where possible.android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7
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: Ifd1afb4186d8f840194df9ab3e7a30a08e61514f Merged-In: I1e77ed30aa2b67a6b8640a23fc42c28b0445bf29
Diffstat (limited to 'car-usb-handler')
-rw-r--r--car-usb-handler/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/car-usb-handler/Android.mk b/car-usb-handler/Android.mk
index 31942506..4d1a5779 100644
--- a/car-usb-handler/Android.mk
+++ b/car-usb-handler/Android.mk
@@ -24,6 +24,7 @@ LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
24LOCAL_SRC_FILES := $(call all-java-files-under, src) 24LOCAL_SRC_FILES := $(call all-java-files-under, src)
25 25
26LOCAL_PACKAGE_NAME := CarUsbHandler 26LOCAL_PACKAGE_NAME := CarUsbHandler
27LOCAL_PRIVATE_PLATFORM_APIS := true
27 28
28# Each update should be signed by OEMs 29# Each update should be signed by OEMs
29LOCAL_CERTIFICATE := platform 30LOCAL_CERTIFICATE := platform