mirror of
https://github.com/joel16/android_device_sony_kitakami-common.git
synced 2024-11-23 03:39:50 +00:00
kitakami-common: SonyOtgSwitch: Set LOCAL_PRIVATE_PLATFORM_APIS
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: If222298e2303f5ef1ac17a67395e811276340dad
This commit is contained in:
parent
da774c9032
commit
e26f00cc78
@ -15,6 +15,6 @@ LOCAL_CERTIFICATE := platform
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_PACKAGE_NAME := SonyOtgSwitch
|
||||
LOCAL_SDK_VERSION := system_current
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
Loading…
Reference in New Issue
Block a user