summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Shawn Lee <syeonlee@google.com> 2024-03-08 10:53:27 -0800
committer Shawn Lee <syeonlee@google.com> 2024-03-14 10:04:38 -0700
commit7a13c84d41d6d94b20e880f5868edfcb823b9dfe (patch)
treec3a56de397dc50c8365ddeb364b3f3b5986a2521 /libs/androidfw/FileStream.cpp
parent2f1213a1cf845ffe1afe55e7ec7077e18f382290 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions