[#12720] attempt to fix crash on accepting starter pack

This commit is contained in:
Roman Volosovskyi 2021-10-20 22:46:24 +03:00
parent 2ff4f5aba4
commit 8f5d3df215
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ public class PushNotificationHelper {
//flags in this link: //flags in this link:
//https://stackoverflow.com/questions/52390129/android-intent-setflags-issue //https://stackoverflow.com/questions/52390129/android-intent-setflags-issue
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
if (deepLink != null) {
intent.setData(Uri.parse(deepLink)); intent.setData(Uri.parse(deepLink));
}
return intent; return intent;
} }