Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db71bc07 authored by Roman Kiryanov's avatar Roman Kiryanov Committed by Automerger Merge Worker
Browse files

Merge "Remove emulator specific code around STAY_ON_WHILE_PLUGGED_IN" into main am: 687e9a1b

parents be9a024b 687e9a1b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2432,9 +2432,7 @@ class DatabaseHelper extends SQLiteOpenHelper {
                    R.bool.def_auto_time_zone); // Sync timezone to NITZ

            loadSetting(stmt, Settings.Global.STAY_ON_WHILE_PLUGGED_IN,
                    ("1".equals(SystemProperties.get("ro.boot.qemu"))
                        || res.getBoolean(R.bool.def_stay_on_while_plugged_in))
                     ? 1 : 0);
                    res.getBoolean(R.bool.def_stay_on_while_plugged_in) ? 1 : 0);

            loadIntegerSetting(stmt, Settings.Global.WIFI_SLEEP_POLICY,
                    R.integer.def_wifi_sleep_policy);