Cherish: Implement cutout force full screen [2/2]
Inspired by MIUI and Essential Squashed commits: commit e483acceb29cdd70bd649a732a03780dacf73a6c Author: LuK1337 <priv.luk@gmail.com> Date: Sat Sep 29 01:02:32 2018 +0200 LineageParts: Remove dividers from expanded desktop/long screen apps list Change-Id: I699f7c20d8313ad779165db336aed7bc72e68d28 commit f9304f0cdc0e92dac787e6d414d36de51cdbed85 Author: Tony Mantler <nicoya@google.com> Date: Thu Sep 21 15:50:27 2017 -0700 LineageParts: Make ApplicationsState.Session lifecycle-aware Bug: 66682989 Test: RunSettingsRoboTests Change-Id: Idf56788fcae22639b7bf604a8c73cd5f0ff2da16 commit 1b921f454a4d4c30317b72958251e83ff3792d81 Author: LuK1337 <priv.luk@gmail.com> Date: Mon Jun 4 16:01:00 2018 +0200 LineageParts: 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: I20eeabf140c9d278d21d68675aed856d45b2f78a Change-Id: I49f150df9d07f25794f4af4d43e560591fb9596d Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -30,6 +30,16 @@
|
||||
android:summary="@string/charging_animation_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<!-- Display Cutout -->
|
||||
<Preference
|
||||
android:key="display_cutout_force_fullscreen_settings"
|
||||
android:title="@string/display_cutout_force_fullscreen_title"
|
||||
android:summary="@string/display_cutout_force_fullscreen_summary"
|
||||
android:fragment="com.cherish.settings.fragments.DisplayCutoutForceFullscreenSettings"
|
||||
settings:controller="com.cherish.settings.fragments.DisplayCutoutForceFullscreenPreferenceController"
|
||||
app:allowDividerAbove="true" />
|
||||
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="use_photos_spoof"
|
||||
android:title="@string/use_photos_spoof_title"
|
||||
|
||||
Reference in New Issue
Block a user