Skip to content

Commit 8c0ffe5

Browse files
authored
Merge pull request #1598 from OneSignal/change/open_url_activity_flags
[Change] After opening a notification with a URL deeplink, the back button will return to the previous Activity
2 parents 292e1db + fc18aa3 commit 8c0ffe5

File tree

1 file changed

+1
-4
lines changed
  • OneSignalSDK/onesignal/src/main/java/com/onesignal

1 file changed

+1
-4
lines changed

OneSignalSDK/onesignal/src/main/java/com/onesignal/OSUtils.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,10 +579,7 @@ static Intent openURLInBrowserIntent(@NonNull Uri uri) {
579579
break;
580580
}
581581
intent.addFlags(
582-
Intent.FLAG_ACTIVITY_NO_HISTORY |
583-
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET |
584-
Intent.FLAG_ACTIVITY_MULTIPLE_TASK |
585-
Intent.FLAG_ACTIVITY_NEW_TASK
582+
Intent.FLAG_ACTIVITY_NEW_TASK
586583
);
587584
return intent;
588585
}

0 commit comments

Comments
 (0)