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:
Anton Hansson 2018-02-21 14:11:44 +00:00 committed by TARKZiM
parent da774c9032
commit e26f00cc78

View File

@ -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)