Fix bad merge causing Recents to be started twice in succession.
Bug: 38449257 Test: Launch Recents, ensure it's not started twice... Change-Id: I0da85ef53742981fd67e8f1d1b733060d8098498
This commit is contained in:
@@ -1039,7 +1039,6 @@ public class RecentsImpl implements ActivityOptions.OnAnimationFinishedListener
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
| Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
|
||||
| Intent.FLAG_ACTIVITY_TASK_ON_HOME);
|
||||
Recents.getSystemServices().startActivityAsUserAsync(intent, opts);
|
||||
HidePipMenuEvent hideMenuEvent = new HidePipMenuEvent();
|
||||
hideMenuEvent.addPostAnimationCallback(() -> {
|
||||
Recents.getSystemServices().startActivityAsUserAsync(intent, opts);
|
||||
|
||||
Reference in New Issue
Block a user