aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Luther <luther.ralf@gmail.com>2020-09-29 17:31:57 +0200
committerGeorge Zacharia <george.zcharia@gmail.com>2020-10-01 20:41:50 +0530
commitb6d1c94c0e784335f31125cbe6eb4297c0b8051a (patch)
treeb41951c539ab7ce7e858517992a6ef7209eb9f06
parent13e922644bb90fe980dc3ffe176d0d37e2345050 (diff)
PartsBin: add missing SingleTap wakeup feature to StartUp
Change-Id: I87a2fa5df4e664ca7b78c5f83d2f12a4390a7a4a
-rw-r--r--src/com/aicp/device/Startup.java3
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);