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

Commit 223c12ee authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "SettingProvider: add default values for show password"

parents 1561fc5f 0833608d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,8 @@
    <bool name="def_netstats_enabled">true</bool>
    <bool name="def_usb_mass_storage_enabled">true</bool>
    <bool name="def_wifi_on">false</bool>
    <bool name="def_show_password_on">true</bool>
    <bool name="config_show_password_on">false</bool>
    <!-- 0 == never, 1 == only when plugged in, 2 == always -->
    <integer name="def_wifi_sleep_policy">2</integer>
    <bool name="def_networks_available_notification_on">true</bool>
+8 −0
Original line number Diff line number Diff line
@@ -2391,6 +2391,14 @@ class DatabaseHelper extends SQLiteOpenHelper {
            loadBooleanSetting(stmt, Settings.System.NOTIFICATION_LIGHT_PULSE,
                    R.bool.def_notification_pulse);

            final boolean isShowPassword =
                    mContext.getResources().getBoolean(R.bool.config_show_password_on);
            if (isShowPassword) {
                loadBooleanSetting(stmt, Settings.System.TEXT_SHOW_PASSWORD,
                        R.bool.def_show_password_on);
            }


            loadUISoundEffectsSettings(stmt);

            loadIntegerSetting(stmt, Settings.System.POINTER_SPEED,