Skip to content

Commit

Permalink
OPPIA-1556: Finish all the activitites in the backstack and display t…
Browse files Browse the repository at this point in the history
…he login screen
  • Loading branch information
AlbertoMoreta committed Jun 21, 2023
1 parent f7b0598 commit 22892cb
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -254,6 +254,7 @@ public void onBackPressed() {
Intent intent = new Intent(this, WelcomeActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
startActivity(intent);
finishAffinity();
return;
}

Expand Down

0 comments on commit 22892cb

Please sign in to comment.