sm8150-common: DeviceSettings: Startup: Restore DC-Dimming on boot
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com> Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
This commit is contained in:
parent
03606f330a
commit
33c17c59f3
|
@ -51,6 +51,8 @@ public class Startup extends BroadcastReceiver {
|
|||
restore(SRGBModeSwitch.getFile(), enabled);
|
||||
enabled = sharedPrefs.getBoolean(DeviceSettings.KEY_HBM_SWITCH, false);
|
||||
restore(HBMModeSwitch.getFile(), enabled);
|
||||
enabled = sharedPrefs.getBoolean(DeviceSettings.KEY_DC_SWITCH, false);
|
||||
restore(DCModeSwitch.getFile(), enabled);
|
||||
enabled = sharedPrefs.getBoolean(DeviceSettings.KEY_DCI_SWITCH, false);
|
||||
restore(DCIModeSwitch.getFile(), enabled);
|
||||
enabled = sharedPrefs.getBoolean(DeviceSettings.KEY_NIGHT_SWITCH, false);
|
||||
|
|
Loading…
Reference in New Issue