NTP-3600 | Reverted clear top intent change (#12504)

This commit is contained in:
Ujjwal Kumar
2024-09-12 15:44:25 +05:30
committed by GitHub
parent 8aff63d96c
commit 70e356459a

View File

@@ -100,7 +100,10 @@ object NaviPayRouter {
putExtra(NEEDS_RESULT, needResultFromNaviPay)
putExtra(SOURCE_MODULE, sourceModule)
putExtras(bundle)
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP)
// TODO: Once delayed onboarding is 100%, add back change from #11912
if (isIntentFlow && !isNaviPayOriginatedIntent) {
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
}
// For Ian flow, replicate the same flow as that of PN
if (isFromIan) {
putExtra(NAVI_PAY_NOTIFICATION_DATA_BUNDLE, bundle)