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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user