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

Commit 2395527c authored by Mike Lockwood's avatar Mike Lockwood Committed by Mike Lockwood
Browse files

SettingsProvider: Allow overridding default value for Setttings.Secure.DEVICE_PROVISIONED

parent 86aeb066
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@
    <string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string>
    <string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string>
    <bool name="def_lockscreen_disabled">false</bool>
    <bool name="def_device_provisioned">false</bool>

    <!-- Notifications use ringer volume -->
    <bool name="def_notifications_use_ring_volume">true</bool>
+3 −0
Original line number Diff line number Diff line
@@ -1596,6 +1596,9 @@ public class DatabaseHelper extends SQLiteOpenHelper {

            loadBooleanSetting(stmt, Settings.System.LOCKSCREEN_DISABLED,
                    R.bool.def_lockscreen_disabled);

            loadBooleanSetting(stmt, Settings.Secure.DEVICE_PROVISIONED,
                    R.bool.def_device_provisioned);
        } finally {
            if (stmt != null) stmt.close();
        }