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>
Wed, 4 Apr 2018 14:49:17 +0000 (15:49 +0100)
commit47e671e1489e3fa95c5d43da85269eda5d6edde7
treed6a97dbc0961d1f1d9bb7b0baa3c7ad5dc90d89e
parent7d906895e8a0feb7ddc8f84a8840f3cf7c5a6501
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
tests/app/Android.mk