summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/src/com
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-24 09:33:25 +0000
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-24 10:30:08 +0000
commit3fd8d51368342a0fe224c4a0161766e61c8c0512 (patch)
tree2840b48ba32a490fa903448a7ab6510808b22455 /packages/SettingsProvider/src/com
parentb46cca45eb057fb81c92393e69d7e5f78edab257 (diff)
downloadframeworks_base-3fd8d51368342a0fe224c4a0161766e61c8c0512.zip
frameworks_base-3fd8d51368342a0fe224c4a0161766e61c8c0512.tar.gz
frameworks_base-3fd8d51368342a0fe224c4a0161766e61c8c0512.tar.bz2
Revert "Add overlay option for Settings.System.ACCELEROMETER_ROTATION_ANGLES"
The default of 11 (90, 270 and 360 degrees) is perfectly fine. Thus, this overlay is pretty useless. Only 1 device currently uses this (and not due to any major issue), so we aren't losing anything by removing this overlay. This reverts commit 936c4bfa7c64ce4403d519d0f0df72523da1ec21. Change-Id: I7eb81d00af1672638689daddd1e78c7e12b21c4d
Diffstat (limited to 'packages/SettingsProvider/src/com')
-rw-r--r--packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
index e4b2409..42c1aa7 100644
--- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
+++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
@@ -2593,9 +2593,6 @@ 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,