commit | 81dde0d3fb1c607cba140cd378d02b7eaa99ccea | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Wed Jul 06 16:14:45 2022 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Wed Jul 06 16:18:46 2022 -0700 |
tree | b15a5fd3bb8852d0acc33c7a62f4a07397437e5a | |
parent | 6501379fccc345c49c128c2ddf336f9a0dc93419 [diff] |
Ensure sendUserLeaveHint be false when split from Overview This is to ensure that we do not enter PiP when the user intention is to create split-screen. Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gSDHKaYxyTEQ6665rr4lt9 Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hTmOVfZDExC14JaJ5fXAZf Bug: 234070451 Test: Split from menu option when in Overview in both folded and \ unfolded states, see also videos Change-Id: Id0a2470f9b37cae2e0897d0570f68909c995f8e0
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index ba5cdcb..c276904 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -4014,7 +4014,8 @@ stagePosition); mSplitHiddenTaskViewIndex = indexOfChild(taskView); if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { - finishRecentsAnimation(true, null); + finishRecentsAnimation(true /* toRecents */, false /* shouldPip */, + null /* onFinishComplete */); } }