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
This commit is contained in:
Hongwei Wang
2022-07-06 16:14:45 -07:00
parent 6501379fcc
commit 81dde0d3fb
@@ -4014,7 +4014,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
stagePosition);
mSplitHiddenTaskViewIndex = indexOfChild(taskView);
if (ENABLE_QUICKSTEP_LIVE_TILE.get()) {
finishRecentsAnimation(true, null);
finishRecentsAnimation(true /* toRecents */, false /* shouldPip */,
null /* onFinishComplete */);
}
}