We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0326d93 commit b27ac14Copy full SHA for b27ac14
OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java
@@ -2174,12 +2174,7 @@ static boolean startOrResumeApp(Activity inContext) {
2174
logger.debug("startOrResumeApp from context: " + inContext + " isRoot: " + inContext.isTaskRoot() + " with launchIntent: " + launchIntent);
2175
// Make sure we have a launcher intent.
2176
if (launchIntent != null) {
2177
- if (inContext.isTaskRoot()) {
2178
- inContext.startActivity(launchIntent);
2179
- } else {
2180
- launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
2181
2182
- }
+ inContext.startActivity(launchIntent);
2183
return true;
2184
}
2185
0 commit comments