Merge "Fix bad merge causing Recents to be started twice in succession." into oc-dev
am: 305c332c22
Change-Id: I9fc712b5b5d96398177883b1979a3ea5744efa89
This commit is contained in:
@@ -1063,7 +1063,6 @@ public class RecentsImpl implements ActivityOptions.OnAnimationFinishedListener
|
|||||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||||
| Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
|
| Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
|
||||||
| Intent.FLAG_ACTIVITY_TASK_ON_HOME);
|
| Intent.FLAG_ACTIVITY_TASK_ON_HOME);
|
||||||
Recents.getSystemServices().startActivityAsUserAsync(intent, opts);
|
|
||||||
HidePipMenuEvent hideMenuEvent = new HidePipMenuEvent();
|
HidePipMenuEvent hideMenuEvent = new HidePipMenuEvent();
|
||||||
hideMenuEvent.addPostAnimationCallback(() -> {
|
hideMenuEvent.addPostAnimationCallback(() -> {
|
||||||
Recents.getSystemServices().startActivityAsUserAsync(intent, opts);
|
Recents.getSystemServices().startActivityAsUserAsync(intent, opts);
|
||||||
|
|||||||
Reference in New Issue
Block a user