From 9df42a37c3bfe15f6515228f4a2c4f2f31c7978c Mon Sep 17 00:00:00 2001 From: Jaewan Kim Date: Tue, 17 May 2016 04:01:24 +0900 Subject: [PATCH] Workaround that Recents is shown again after an activity is PIPed Bug: 28333917 Change-Id: Ib85db2ffdb588476b7bc7cd764af95d759f518b5 --- .../src/com/android/systemui/recents/tv/RecentsTvActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java b/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java index 3a17d222bda89..99c821131e56b 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java +++ b/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java @@ -413,6 +413,9 @@ public class RecentsTvActivity extends Activity implements OnPreDrawListener { RecentsConfiguration config = Recents.getConfiguration(); RecentsActivityLaunchState launchState = config.getLaunchState(); launchState.reset(); + + // Workaround for b/28333917. + finish(); } @Override