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

Commit c88a80a1 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 15e099cc: am 0e0942c7: Merge "Default WiFi sleep policy setting"

* commit '15e099cc':
  Default WiFi sleep policy setting
parents d5a1074c 15e099cc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -46,6 +46,8 @@
    <bool name="def_netstats_enabled">true</bool>
    <bool name="def_usb_mass_storage_enabled">true</bool>
    <bool name="def_wifi_on">false</bool>
    <!-- 0 == default, 1 == never while plugged, 2 == never -->
    <integer name="def_wifi_sleep_policy">0</integer>
    <bool name="def_networks_available_notification_on">true</bool>

    <bool name="def_backup_enabled">false</bool>
+2 −0
Original line number Diff line number Diff line
@@ -1568,6 +1568,8 @@ public class DatabaseHelper extends SQLiteOpenHelper {
            loadIntegerSetting(stmt, Settings.System.POINTER_SPEED,
                    R.integer.def_pointer_speed);

            loadIntegerSetting(stmt, Settings.System.WIFI_SLEEP_POLICY,
                    R.integer.def_wifi_sleep_policy);
        } finally {
            if (stmt != null) stmt.close();
        }