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: Id4757bcca09eda716e0a1098d9290928fa87f22d
* Samsung now supports many more modes than just inverted colors
* Add strings for these extra modes while we're at it
Change-Id: If2a469c994658d521d98b91adec1a19badb8092f
* It just so happens that not all devices will have the
same options available, so allow them to specify what
they have without breaking tranlations by moving the
scenario names into individual strings from the arrays
* Update a few strings to be actually translatable
* Fix an off-by-one error for every display mode after
"LineageOS (default)": UI is the same thing as the
default mode, so remove it to make the mode selection
actually choose the user-selected mode
Change-Id: Id5d659d79c10ea097c35b7416ef7c1cc93937756
* Apply the default Oreo theme and inherit the layouts from Google
for the Settings app, in order to keep UI consistency.
* Get rid of SettingsDrawerActivity as it no longer fits in.
* Add required appcompat and preference support libraries.
* Integrate into display settings category using IA.
Change-Id: I8438e0ebec27085df2be4668f8f7170d2010fb20
Make use of LiveDisplay's implementation of display modes.
Remove AdvancedDisplay's display mode support as it duplicates
functionality provided by the CMHW implementation.
Based on Sean hoyt's original work on klmintwifi.
Change-Id: I455a8c764118adbdb997b2ba9145e24fecb8199b