diff options
author | 2023-06-09 23:16:25 +0800 | |
---|---|---|
committer | 2023-06-12 15:34:56 +0000 | |
commit | 889b10e092319609846450d2ffb5772fbc73d727 (patch) | |
tree | 25275a49203e87033554bbdfeb02058ae7308cd2 /api/api.go | |
parent | 0f529d03a8b81f8562670acf0d09d9577d219c80 (diff) |
Use TYPE_ENTER_PIP_FROM_SPLIT only if the task is on split
Otherwise even if the split pair is in background, any standalone
entering PiP will always use TYPE_ENTER_PIP_FROM_SPLIT. That
may either disturb split state or notify some unexpected transition
handlers to run additional animation.
Bug: 286363453
Test: 1. Return to home from a split pair, the activity on the
split can enter PiP successfully.
2. Put a split pair in background, launch another
fullscreen activity and request entering PiP, the log
should not show:
"Got a PiP-enter request while Split-Screen is active".
Change-Id: I780d0bd22ba5e3992ad859e6f770033c1b4d6487
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions