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 package
Bug: 73535841
Change-Id: I5196e8c7277ff86280782e7b479a499add2e8f9f
This was required in the past to trigger doze when pulling out the
device from a pocket (we were handling the "pick up" action with Flat Up sensor).
Currently Glance sensor is being used which gets triggered in the previously described case itself
thus there's no need to keep stow implementation alive.
* These layouts are necessary for custom activities to inherit from
(those that are integrated into Settings, which is the case of the
several forms of DeviceSettings), in order to keep UI consistency.
In Oreo, all Settings preferences and preference categories
have a margin on the left, reserved for icons.
* Place the layouts here, to avoid cluttering device trees
(plain copy of Google's layouts from Settings app).
Change-Id: Ib3f670b19c7e728b97fd76efe04bcc2f69008b06