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

Skip to content
Commit f4838e8a authored by Ikram Gabiyev's avatar Ikram Gabiyev Committed by Android Build Coastguard Worker
Browse files

Send app bounds to Shell via stopSwipePipToHome

Send app bounds used for content overlay by launcher
to Shell's PiP component. This is used by Shell to
reset overlay scale and offset properly after the enter animation
but before the overlay fades out to avoid icon shifts.

We observed that app bounds can be different depending on
whether we are at 90 deg or 270 deg before fixed rotation.
Moreover, the presence of the taskbar can also alter the app bounds.
So supplying the app bounds we take from task view simulator to Shell
should solve the issue in general.

Flag: NONE
Bug: 316993346
Test: manually enter PiP w/ fixed rotation in 90 or 270 deg
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:221457f00bb6e323aa57957392aafc549207653d)
Merged-In: I0a26b0c69020dae399d6794d36a9f3bc8425f40b
Change-Id: I0a26b0c69020dae399d6794d36a9f3bc8425f40b
parent 909305e9
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