diff options
| author | Ralf Luther <luther.ralf@gmail.com> | 2020-09-29 17:31:57 +0200 |
|---|---|---|
| committer | George Zacharia <george.zcharia@gmail.com> | 2020-10-01 20:41:50 +0530 |
| commit | b6d1c94c0e784335f31125cbe6eb4297c0b8051a (patch) | |
| tree | b41951c539ab7ce7e858517992a6ef7209eb9f06 | |
| parent | 13e922644bb90fe980dc3ffe176d0d37e2345050 (diff) | |
PartsBin: add missing SingleTap wakeup feature to StartUp
Change-Id: I87a2fa5df4e664ca7b78c5f83d2f12a4390a7a4a
| -rw-r--r-- | src/com/aicp/device/Startup.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/aicp/device/Startup.java b/src/com/aicp/device/Startup.java index ee2d201..09057bb 100644 --- a/src/com/aicp/device/Startup.java +++ b/src/com/aicp/device/Startup.java @@ -209,6 +209,9 @@ public class Startup extends BroadcastReceiver { enabled = Settings.System.getInt(resolver, NightModeSwitch.SETTINGS_KEY, 0) != 0; restore(NightModeSwitch.getFile(context), enabled); + enabled = Settings.System.getInt(resolver, SingleTapSwitch.SETTINGS_KEY, 0) != 0; + restore(SingleTapSwitch.getFile(context), enabled); + enabled = Settings.System.getInt(resolver, FastChargeSwitch.SETTINGS_KEY, 0) != 0; restore(FastChargeSwitch.getFile(context), enabled); |
