From 1d770f946b2fef6b21e3f5cabe808fdfc796fc65 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Fri, 19 May 2017 16:05:54 -0700 Subject: [PATCH] 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 --- .../SystemUI/src/com/android/systemui/recents/RecentsImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java b/packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java index e229c90e78279..d5aab9923f0f6 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java +++ b/packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java @@ -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);