From a608df0c81c28a664a4dd03bbe04d54ec7859f5e Mon Sep 17 00:00:00 2001 From: Hongwei Wang Date: Thu, 6 May 2021 11:55:17 -0700 Subject: [PATCH] Support entering PiP from live tile When finish the recents animation, send user leave hint if live tile is currently on. Note that we force the PiP window fades in in this case. Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bLoRpbgcyZBt1UiQPZEXcF Bug: 187421300 Test: manual, see video Change-Id: I07bc307c5eb895cd23b764af92e39ff7e6f8e805 --- .../src/com/android/quickstep/views/RecentsView.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index a04b886bd4..59588325fd 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -3359,6 +3359,13 @@ public abstract class RecentsView { if (onFinishComplete != null) { onFinishComplete.run(); @@ -3370,7 +3377,7 @@ public abstract class RecentsView