Add overlay for SWAP_VOLUME_KEYS_ON_ROTATION
This got lost along the transition Change-Id: I35f5c6cdd73ff1d4a590fa6980d3214dda2bd740
This commit is contained in:
parent
f499009346
commit
20d9638593
@ -87,4 +87,6 @@
|
|||||||
<bool name="def_notification_pulse_custom_enable">false</bool>
|
<bool name="def_notification_pulse_custom_enable">false</bool>
|
||||||
<string name="def_notification_pulse_custom_value"></string>
|
<string name="def_notification_pulse_custom_value"></string>
|
||||||
|
|
||||||
|
<bool name="def_swap_volume_keys_on_rotation">false</bool>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -262,6 +262,9 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
|
|||||||
loadBooleanSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE,
|
loadBooleanSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE,
|
||||||
R.bool.def_notification_pulse_custom_enable);
|
R.bool.def_notification_pulse_custom_enable);
|
||||||
|
|
||||||
|
loadBooleanSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.SWAP_VOLUME_KEYS_ON_ROTATION,
|
||||||
|
R.bool.def_swap_volume_keys_on_rotation);
|
||||||
|
|
||||||
if (mContext.getResources().getBoolean(R.bool.def_notification_pulse_custom_enable)) {
|
if (mContext.getResources().getBoolean(R.bool.def_notification_pulse_custom_enable)) {
|
||||||
loadStringSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES,
|
loadStringSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES,
|
||||||
R.string.def_notification_pulse_custom_value);
|
R.string.def_notification_pulse_custom_value);
|
||||||
|
Loading…
Reference in New Issue
Block a user