Settings: Add an option to force pre-O apps to use full screen aspect ratio

When an app target pre-O releases, the default max aspect ratio
is 1.86:1 which leads to ugly black areas on devices that have
screens with higher aspect ratio (for example Galaxy S8/S9).

This change adds an option to allow users to change aspect ratio
for pre-O apps to full screen aspect ratio.

Change-Id: I0fb73511cf654ee22a4cfb7aef252008f8db8855
This commit is contained in:
Jesse Chan 2018-04-21 23:54:05 -07:00 committed by Michael Bestas
parent 4d9aad54da
commit 809f6c074d
No known key found for this signature in database

View file

@ -181,6 +181,10 @@
android:title="@string/show_operator_name_title"
android:summary="@string/show_operator_name_summary"/>
<lineageos.preference.LineagePartsPreference
android:key="long_screen_settings"
settings:requiresConfig="@*lineageos.platform:bool/config_haveHigherAspectRatioScreen" />
<Preference
android:key="screensaver"
android:title="@string/screensaver_settings_title"