universal7580: SamsungDoze: Set LOCAL_PRIVATE_PLATFORM_APIS
authorAnton Hansson <hansson@google.com>
Wed, 21 Feb 2018 14:11:44 +0000 (14:11 +0000)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:18:53 +0000 (23:18 +0200)
commit03d71f6622976aabd9dc2ae44cc4cfe1ad2f26c8
tree21f6b66b2cf6f457dbbcfb00fb2cb60a0b6acba9
parente7a9a9a199070b48c08b791d72d1413fbcee6c74
universal7580: SamsungDoze: 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: Ib244e0b7de264191a94d8b0e6512be2a580ec59f
SamsungDoze/Android.mk