OSDN Git Service

packages/apps/Settings: Set LOCAL_SDK_VERSION where possible. DO NOT MERGE
authorAnton Hansson <hansson@google.com>
Wed, 28 Feb 2018 11:28:53 +0000 (11:28 +0000)
committerAnton Hansson <hansson@google.com>
Thu, 1 Mar 2018 14:34:01 +0000 (14:34 +0000)
commitb89d96894fd2a796d6aeabfeb20c21c30e00fabd
tree34bc998871f936f6753791a24d7e588001712181
parent59a548b940c951bb6d95082e346a603257baadd3
packages/apps/Settings: Set LOCAL_SDK_VERSION where possible. DO NOT MERGE

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: I139d2652b5a81d381bb06a2beadc053c9bfaf5aa
tests/app/Android.mk