diff options
author | Howard M. Harte <hharte@cyngn.com> | 2015-04-12 12:07:49 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-26 21:55:35 -0700 |
commit | f5e73fe7a69cea6ccc6afc72f0a285fda8b5550a (patch) | |
tree | 012e316ca72c262d79e20188afa4cc1462910897 /packages/SettingsProvider/src | |
parent | c29e4b193ff2003cca562aede624a747e38a87b1 (diff) | |
download | frameworks_base-f5e73fe7a69cea6ccc6afc72f0a285fda8b5550a.zip frameworks_base-f5e73fe7a69cea6ccc6afc72f0a285fda8b5550a.tar.gz frameworks_base-f5e73fe7a69cea6ccc6afc72f0a285fda8b5550a.tar.bz2 |
Add overlay option for Settings.System.ACCELEROMETER_ROTATION_ANGLES
Change-Id: Icd5e47051554a7b2464e4fbdaac868aafda7b853
(cherry picked from commit 6bfea6065178a29d4622a89e2944c16e086923b1)
Diffstat (limited to 'packages/SettingsProvider/src')
-rw-r--r-- | packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java index 62e1223..b0831dc 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java @@ -2398,6 +2398,9 @@ class DatabaseHelper extends SQLiteOpenHelper { loadBooleanSetting(stmt, Settings.System.ACCELEROMETER_ROTATION, R.bool.def_accelerometer_rotation); + loadIntegerSetting(stmt, Settings.System.ACCELEROMETER_ROTATION_ANGLES, + R.integer.def_accelerometer_rotation_angles); + loadDefaultHapticSettings(stmt); loadBooleanSetting(stmt, Settings.System.NOTIFICATION_LIGHT_PULSE, |