remove wizard from backstack and fix the Exit -> returning to SW
This commit is contained in:
parent
30a0b49666
commit
764e035666
1 changed files with 2 additions and 1 deletions
|
@ -163,6 +163,7 @@ public class SetupWizardActivity extends AppCompatActivity {
|
||||||
public void finishSetupWizard(View view) {
|
public void finishSetupWizard(View view) {
|
||||||
SP.putBoolean(R.string.key_setupwizard_processed, true);
|
SP.putBoolean(R.string.key_setupwizard_processed, true);
|
||||||
Intent intent = new Intent(this, MainActivity.class);
|
Intent intent = new Intent(this, MainActivity.class);
|
||||||
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue