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

Skip to content
Commit 7a13c84d authored by Shawn Lee's avatar Shawn Lee
Browse files

Use opening window with largest screen area during ActivityTransition

When determining the endState while starting an ActivityTransition animation, we were taking the first app in the set of opening apps without a parent in the same transition. This left us with incorrect endState bounds when PIP was active and we were launching a fullscreen activity behind it, as we took the bounds of the PIP window instead of the fullscreen bounds. This change simply tweaks the behavior so we grab the app with the largest screenspace bounds as the endState.

Bug: 323294573
Test: Manually verified endState bounds via logging during both PIP and non-PIP activity launch
Flag: NONE
Change-Id: I719c9f04c811dc973d1fc2db095794e1ada164f7
parent 2f1213a1
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