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

Skip to content
Commit 338bdd1f authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Polish auto-enter-pip from landscape and split-screen

- Use Builder for constructing SwipePipToHomeAnimator since the
  parameter list grows
- Use mHomeToWindowPositionMap to adjust the position, this is to fix
  the position issue when auto-enter-pip from split-screen
- The position map and its inverse does not seem to fit the case when
  auto-enter-pip from landscape, leave it as it is
- Setup the SwipePipToHomeAnimator the same way in
  createWindowAnimationToHome

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/b1j4eK7BU18sOGfuDlKMFR
Bug: 190749305
Bug: 190855091
Test: manual, see video
Change-Id: Ica9ca9f43b8fd5f1898fef4c6d173502dd897872
parent 049c2f57
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