diff options
author | Danesh Mondegarian <daneshm90@gmail.com> | 2012-12-21 16:10:14 -0500 |
---|---|---|
committer | Danesh Mondegarian <daneshm90@gmail.com> | 2012-12-21 16:10:14 -0500 |
commit | 34f255c00e38e6256cddf3761c68e0dbb91ccec4 (patch) | |
tree | e021f35c23777f074920e601f6e4eb0a921db951 /src | |
parent | d049922d9ebe755014de5a74b92c5ca4b5584d58 (diff) | |
download | packages_apps_settings-34f255c00e38e6256cddf3761c68e0dbb91ccec4.zip packages_apps_settings-34f255c00e38e6256cddf3761c68e0dbb91ccec4.tar.gz packages_apps_settings-34f255c00e38e6256cddf3761c68e0dbb91ccec4.tar.bz2 |
Display : Enable rotation on large screens
The auto-rotate toggle in statusbar is no longer present, so the check
is no longer valid.
Change-Id: I0a23e251b3cb793481d14ea8ad8a9079c7c0e962
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/DisplaySettings.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/com/android/settings/DisplaySettings.java b/src/com/android/settings/DisplaySettings.java index 3b52207..977ba98 100644 --- a/src/com/android/settings/DisplaySettings.java +++ b/src/com/android/settings/DisplaySettings.java @@ -111,13 +111,6 @@ public class DisplaySettings extends SettingsPreferenceFragment implements addPreferencesFromResource(R.xml.display_settings); mDisplayRotationPreference = (PreferenceScreen) findPreference(KEY_DISPLAY_ROTATION); - if (mDisplayRotationPreference != null - && RotationPolicy.isRotationLockToggleSupported(getActivity())) { - // If rotation lock is supported, then we do not provide this option in - // Display settings. However, is still available in Accessibility settings. - getPreferenceScreen().removePreference(mDisplayRotationPreference); - mDisplayRotationPreference = null; - } mScreenSaverPreference = findPreference(KEY_SCREEN_SAVER); if (mScreenSaverPreference != null |