Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 81f44313 authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

Allow drag flings in PiP2 via PipTransitionState

Use PipTransitionState as an "event hub" to allow
PiP drag and fling animations through PipMotionHelper.

Furthermore, adopt the Approach #2 described in go/pip2-transitions
to use transitions to update pinned task's bounds in Core instead
of using direct applyTransaction() calls.

Ensure, through state updates connected to transitions that interactions
are disallowed until all leash and WM state updates are complete;
this should ultimately avoid any flickers while interacting with PiP.

Bug: 332770512
Test: adb shell setprop wm_shell.pip2 1 \
       && adb shell am crash com.android.systemui
Test: swipe-up to enter PiP and drag PiP window
Change-Id: If71b47103295563e3d419427d7abbc5ae67829bc
parent 3717eb05
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