Merge branch 'startupwizard' of https://github.com/MilosKozak/AndroidAPS into startupwizard

This commit is contained in:
Milos Kozak 2018-05-20 16:18:10 +02:00
commit d079052944

View file

@ -164,6 +164,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);
} }
@ -186,4 +187,4 @@ public class SetupWizardActivity extends AppCompatActivity {
} }
return currentWizardPage; return currentWizardPage;
} }
} }