samsung: restore proximity wake preference on boot

Change-Id: I614772d6ff1005968a7f8f1ed0349e3878ddadf1
tirimbino
Dave Daynard 9 years ago committed by Jan Altensen
parent e798b625a7
commit 3198b9b632
No known key found for this signature in database
GPG Key ID: 3E45BB95F7AD33DA
  1. 1
      doze/src/com/cyanogenmod/settings/device/SamsungDozeService.java

@ -168,6 +168,7 @@ public class SamsungDozeService extends Service {
private void loadPreferences(SharedPreferences sharedPreferences) { private void loadPreferences(SharedPreferences sharedPreferences) {
mHandwaveGestureEnabled = sharedPreferences.getBoolean(GESTURE_HAND_WAVE_KEY, false); mHandwaveGestureEnabled = sharedPreferences.getBoolean(GESTURE_HAND_WAVE_KEY, false);
mPocketGestureEnabled = sharedPreferences.getBoolean(GESTURE_POCKET_KEY, false); mPocketGestureEnabled = sharedPreferences.getBoolean(GESTURE_POCKET_KEY, false);
mProximityWakeEnabled = sharedPreferences.getBoolean(PROXIMITY_WAKE_KEY, false);
} }
private BroadcastReceiver mScreenStateReceiver = new BroadcastReceiver() { private BroadcastReceiver mScreenStateReceiver = new BroadcastReceiver() {

Loading…
Cancel
Save