SetupWizard: Lock orientation prior to finish animation
Change-Id: I43a69937e2deb5f55585522fe5d00c51ffdae569 (cherry picked from commit c8e4c29020cb3acd8a8676bf1c60aad82e58888c)
This commit is contained in:
parent
b00440ec27
commit
27457414c8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user