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

am: dd9b3f5d92

Change-Id: Icc10e3ead1ecf03cd21716f29443d930ac088b9a
This commit is contained in:
Patrick Baumann
2018-04-10 07:32:54 -07:00
committed by android-build-merger

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) {