Remove skip button from datetime settings
Also force landscape mode in XLarge screen. Bug: 3285153 Change-Id: I9f4a0de6a36d0be2b5f80b734a4910f4bb154905
This commit is contained in:
@@ -20,6 +20,7 @@ import android.app.Activity;
|
||||
import android.app.AlarmManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
import android.provider.Settings;
|
||||
@@ -91,6 +92,8 @@ public class DateTimeSettingsSetupWizard extends Activity
|
||||
mAutoTimeZoneButton.setText(autoTimeZoneEnabled ? R.string.zone_auto_summaryOn :
|
||||
R.string.zone_auto_summaryOff);*/
|
||||
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
||||
|
||||
final TimeZone tz = TimeZone.getDefault();
|
||||
mSelectedTimeZone = tz;
|
||||
mTimeZoneButton = (Button)findViewById(R.id.time_zone_button);
|
||||
|
Reference in New Issue
Block a user