diff options
author | cretin45 <cretin45@gmail.com> | 2015-03-23 15:08:09 -0700 |
---|---|---|
committer | Ed Carrigan <cretin45@gmail.com> | 2015-04-01 02:04:23 +0000 |
commit | 27457414c8854fb432896c4ce896144b9ed4104b (patch) | |
tree | f90b80efb4988288fa11e697a93a26af62545227 /src/com/cyanogenmod/setupwizard | |
parent | b00440ec275ea4ac4bd58b0ed6c084c6ccc42b59 (diff) | |
download | packages_apps_SetupWizard-27457414c8854fb432896c4ce896144b9ed4104b.zip packages_apps_SetupWizard-27457414c8854fb432896c4ce896144b9ed4104b.tar.gz packages_apps_SetupWizard-27457414c8854fb432896c4ce896144b9ed4104b.tar.bz2 |
SetupWizard: Lock orientation prior to finish animation
Change-Id: I43a69937e2deb5f55585522fe5d00c51ffdae569
(cherry picked from commit c8e4c29020cb3acd8a8676bf1c60aad82e58888c)
Diffstat (limited to 'src/com/cyanogenmod/setupwizard')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java index a21988d..ae9dd34 100644 --- a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java +++ b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java @@ -273,7 +273,7 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks, @Override public void onFinish() { - setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); + setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); Animation fadeOut = AnimationUtils.loadAnimation(this, android.R.anim.fade_out); mNextButton.startAnimation(fadeOut); mNextButton.setVisibility(View.INVISIBLE); |