LSW: Properly set page transition and cleanup definitions on the way
Set slide animation by default and use it in all pages. Fix wrong/missing slide animations on various transitions like WiFi and the backup subpage. Change-Id: I78c87f38eb615379d39c89b43a016ed2ffb98695
This commit is contained in:
committed by
Alessandro Astone
parent
b05350b920
commit
cff638652a
@@ -72,11 +72,6 @@ public class FinishActivity extends BaseSetupWizardActivity {
|
||||
setNextText(R.string.start);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getTransition() {
|
||||
return TRANSITION_ID_SLIDE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getLayoutResId() {
|
||||
return R.layout.finish_activity;
|
||||
@@ -85,7 +80,9 @@ public class FinishActivity extends BaseSetupWizardActivity {
|
||||
@Override
|
||||
public void finish() {
|
||||
super.finish();
|
||||
overridePendingTransition(R.anim.translucent_enter, R.anim.translucent_exit);
|
||||
if (!isResumed() || mResultCode != RESULT_CANCELED) {
|
||||
overridePendingTransition(R.anim.translucent_enter, R.anim.translucent_exit);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user