[#12720] attempt to fix crash on accepting starter pack
This commit is contained in:
parent
2ff4f5aba4
commit
8f5d3df215
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue