Unverified Commit 15efe654 authored by Sparky93's avatar Sparky93 Committed by Jonathan Almeida
Browse files

Fix for #6155 - Back button from migration complete notification routes back to

migration screen

Tapping the migration complete notification would cause activities stack to be
polluted with the migration progress activity which means that popping an
activity from the onboarding screen would lead back to the migration progress
activity, rather than finishing the app instance.

Placing the FLAG_ACTIVITY_CLEAR_TOP flag to the migration complete
notification's intent will ensure us that, once in the onboarding screen, we
can never go back to the migration one, by clearing everything that is at the
parent 3d18d874
......@@ -124,7 +124,7 @@ abstract class AbstractMigrationService : Service() {
.setContentIntent(PendingIntent.getActivity(this, 0,
Intent(this, migrationDecisionActivity), 0))
Intent(this, migrationDecisionActivity).setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP), 0))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment