Skip to content

Commit

Permalink
Merge pull request #1598 from OneSignal/change/open_url_activity_flags
Browse files Browse the repository at this point in the history
[Change] After opening a notification with a URL deeplink, the back button will return to the previous Activity
  • Loading branch information
jkasten2 authored Jun 2, 2022
2 parents 292e1db + fc18aa3 commit 8c0ffe5
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,7 @@ static Intent openURLInBrowserIntent(@NonNull Uri uri) {
break;
}
intent.addFlags(
Intent.FLAG_ACTIVITY_NO_HISTORY |
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET |
Intent.FLAG_ACTIVITY_MULTIPLE_TASK |
Intent.FLAG_ACTIVITY_NEW_TASK
Intent.FLAG_ACTIVITY_NEW_TASK
);
return intent;
}
Expand Down

0 comments on commit 8c0ffe5

Please sign in to comment.