Cherish: notch-city: Add 3 mode display cutout handler [3/3]

[AgentFabulous - POSP]
- Add the respective control in here
- Also add a little video illustration I made to go along with it :)

Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Change-Id: I8fe68610a50e2a430363dc09f4a9adb8a4563ad0
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Kshitij Gupta
2019-01-04 04:01:57 +05:30
committed by Hưng Phan
parent 0f1e289798
commit 7c352e5482
7 changed files with 182 additions and 0 deletions

View File

@@ -46,6 +46,8 @@ public class StatusBarSettings extends SettingsPreferenceFragment implements
private SystemSettingMasterSwitchPreference mStatusBarLogo;
private static final String PREF_KEY_CUTOUT = "cutout_settings";
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
@@ -61,6 +63,7 @@ public class StatusBarSettings extends SettingsPreferenceFragment implements
Settings.System.STATUS_BAR_LOGO, 0) == 1));
mStatusBarLogo.setOnPreferenceChangeListener(this);
Preference mCutoutPref = (Preference) findPreference(PREF_KEY_CUTOUT);
}
@Override