Merge "Fixes task behavior on AIA launch" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-04-10 14:22:29 +00:00
committed by Android (Google) Code Review

View File

@@ -256,8 +256,6 @@ public abstract class InstantAppResolver {
int flags = origIntent.getFlags();
final Intent intent = new Intent();
intent.setFlags(flags
| Intent.FLAG_ACTIVITY_NEW_TASK
| Intent.FLAG_ACTIVITY_CLEAR_TASK
| Intent.FLAG_ACTIVITY_NO_HISTORY
| Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
if (token != null) {