diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-02-10 12:26:26 -0800 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-02-10 12:31:23 -0800 |
commit | cc0dc00916c5194cdef4151767ec58c6ccad6578 (patch) | |
tree | 4e66a4b156697bd40e923fa8e000a61020f4754c /src/com/android/settings/DateTimeSettingsSetupWizard.java | |
parent | 09d5c98ea1465183ed8065771e1a4f34a50f0d75 (diff) | |
download | packages_apps_Settings-cc0dc00916c5194cdef4151767ec58c6ccad6578.zip packages_apps_Settings-cc0dc00916c5194cdef4151767ec58c6ccad6578.tar.gz packages_apps_Settings-cc0dc00916c5194cdef4151767ec58c6ccad6578.tar.bz2 |
Remove portrait support in SetupWizard
We support sensorLandscape for a moment.
See also I45e30c652feab1d30c4f0379379f8ca4e455fa02
- Use sensorLandscape instead of default
- Modify paddings in default xmls to layout landscape stuffs
correctly
Change-Id: Ife03de69e4d1d2d898cd0e8de3cefd733aea8f19
Diffstat (limited to 'src/com/android/settings/DateTimeSettingsSetupWizard.java')
-rw-r--r-- | src/com/android/settings/DateTimeSettingsSetupWizard.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/DateTimeSettingsSetupWizard.java b/src/com/android/settings/DateTimeSettingsSetupWizard.java index 08c0227..bfbb601 100644 --- a/src/com/android/settings/DateTimeSettingsSetupWizard.java +++ b/src/com/android/settings/DateTimeSettingsSetupWizard.java @@ -95,6 +95,8 @@ public class DateTimeSettingsSetupWizard extends Activity mAutoTimeZoneButton.setText(autoTimeZoneEnabled ? R.string.zone_auto_summaryOn : R.string.zone_auto_summaryOff);*/ + setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE); + final TimeZone tz = TimeZone.getDefault(); mSelectedTimeZone = tz; mTimeZoneButton = (Button)findViewById(R.id.time_zone_button); |