Skip to content
Commit 889b10e0 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 0f529d03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment