samsung: restore proximity wake preference on boot
authorDave Daynard <nardholio@gmail.com>
Sat, 4 Jul 2015 17:44:53 +0000 (13:44 -0400)
committerJan Altensen <info@stricted.net>
Fri, 20 Mar 2020 13:56:32 +0000 (14:56 +0100)
Change-Id: I614772d6ff1005968a7f8f1ed0349e3878ddadf1

doze/src/com/cyanogenmod/settings/device/SamsungDozeService.java

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