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

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

Add PipTransitionState into pip2

Create a new PipTransitionState class
to dispatch state updates for
PiP specifically guided by transitions.

Also connect scheduling expand-pip to onActivityRestartAttempt().
But remove the usages of onActivityPinned/Unpinned() since we can now
rely on PipTraansitionStateChanged listener updates instead which
are in sync with diffferent stages of running Transitions.

The plan is to use these state changes to enable and disable touches
in pip2.PipTouchHandler in a follow up CL (a substitute for onAct(Un)Pinned).

Bug: 336870419
Test: swipe-up to enter PiP then tap icon to expand
Change-Id: Ica297920fbf4ace1c18b17e92341e179dcce22d3
parent 54019790
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