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

Skip to content
Commit 5ee002d9 authored by Shawn Lee's avatar Shawn Lee Committed by Cherrypicker Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7a13c84d41d6d94b20e880f5868edfcb823b9dfe)
Merged-In: I719c9f04c811dc973d1fc2db095794e1ada164f7
Change-Id: I719c9f04c811dc973d1fc2db095794e1ada164f7
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
parent 8365273c
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