summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DateTimeSettingsSetupWizard.java
diff options
context:
space:
mode:
authorFreeman Ng <tenorslowworm@google.com>2011-11-21 13:07:08 -0800
committerFreeman Ng <tenorslowworm@google.com>2011-11-21 14:47:02 -0800
commit5a825280895e82091e326f00174ca05cf7c07625 (patch)
treeabcc1dc57047a9cfb59a49c95aecbdb484a76494 /src/com/android/settings/DateTimeSettingsSetupWizard.java
parent6f0ea441e465a0af646f8952f820a92f6902c8d9 (diff)
downloadpackages_apps_Settings-5a825280895e82091e326f00174ca05cf7c07625.zip
packages_apps_Settings-5a825280895e82091e326f00174ca05cf7c07625.tar.gz
packages_apps_Settings-5a825280895e82091e326f00174ca05cf7c07625.tar.bz2
fix datetime layout for phones and remove orientation locking
The first fixes the bug, the second was something I noticed while debugging. We're no longer locking setup wizard orientation for anything screen size, and so no activities it calls needs to do that any more, either. bug: 5642402 Change-Id: I5911223112a19841f6b4754a70148f28a753f736
Diffstat (limited to 'src/com/android/settings/DateTimeSettingsSetupWizard.java')
-rw-r--r--src/com/android/settings/DateTimeSettingsSetupWizard.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/settings/DateTimeSettingsSetupWizard.java b/src/com/android/settings/DateTimeSettingsSetupWizard.java
index e63153e..977d6c6 100644
--- a/src/com/android/settings/DateTimeSettingsSetupWizard.java
+++ b/src/com/android/settings/DateTimeSettingsSetupWizard.java
@@ -88,10 +88,8 @@ public class DateTimeSettingsSetupWizard extends Activity
// not present in the standard layout
mUsingXLargeLayout = findViewById(R.id.time_zone_button) != null;
if (mUsingXLargeLayout) {
- setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
initUiForXl();
} else {
- setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT);
findViewById(R.id.next_button).setOnClickListener(this);
}
mTimeZoneAdapter = ZonePicker.constructTimezoneAdapter(this, false,