clear activity queue

This commit is contained in:
Roumen Georgiev 2018-05-21 11:00:48 +03:00
parent 91c0b1a2ec
commit 1d39734b19

View file

@ -144,6 +144,7 @@ public class SetupWizardActivity extends AppCompatActivity {
// Go back to overview
public void finishSetupWizard(View view) {
Intent intent = new Intent(this, MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
}