Android->frameworks:add rotation lock toggle

This commit is contained in:
Guanzl
2017-10-14 18:06:05 +08:00
parent cac7656ec6
commit 57751d7014

View File

@ -2310,7 +2310,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
SystemProperties.getInt("ro.rk.screenoff_time", mContext.getResources().getInteger(R.integer.def_screen_off_timeout)));
loadSetting(stmt, Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY,
"1");
"0");
// Set default button lights settings
loadBooleanSetting(stmt,Settings.System.BUTTON_LIGHTS_ENABLED,
R.bool.def_button_lights_enabled);