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

Skip to content
Commit a3f96997 authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

Enter PiP with fixed rotation restore reentry state correctly

Previously the maxSize was calculated on the previous orientation (e.g.
landscape), and thus lead to incorrect destination bounds.
This change makes sure that the maxSize used is for the correct
rotation and that PipTransition also applies the scaling correctly.

Also refactoring some of the PipTouchHandler to avoid duplicate
calculations.

Bug: 326490788
Test: after fix http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/bngzAYINo6LsYv8Tdt9y31
Flag: none

Change-Id: I1e10b7d67f49399d9b869d02cff923b7ec104d88
parent bb859135
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