LineageSettingsProvider: Allow to set a default for QS brightness slider
Change-Id: Ie9003e2c14e7f5ba1b34cd7c3c7ab95a3c9501cf
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
<!-- Default for LineageSettings.Secure.VOLUME_PANEL_ON_LEFT -->
|
||||
<bool name="def_volume_panel_on_left">false</bool>
|
||||
|
||||
<!-- Default for LineageSettings.Secure.QS_SHOW_BRIGHTNESS_SLIDER -->
|
||||
<bool name="def_qs_show_brightness_slider">true</bool>
|
||||
|
||||
<!-- Defaults for System -->
|
||||
|
||||
<!-- Default for LineageSettings.System.FORCE_SHOW_NAVBAR -->
|
||||
|
||||
@@ -404,6 +404,9 @@ public class LineageDatabaseHelper extends SQLiteOpenHelper{
|
||||
|
||||
loadBooleanSetting(stmt, LineageSettings.Secure.VOLUME_PANEL_ON_LEFT,
|
||||
R.bool.def_volume_panel_on_left);
|
||||
|
||||
loadBooleanSetting(stmt, LineageSettings.Secure.QS_SHOW_BRIGHTNESS_SLIDER,
|
||||
R.bool.def_qs_show_brightness_slider);
|
||||
} finally {
|
||||
if (stmt != null) stmt.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user