summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-04-09 12:36:18 -0700
committerjorgegil@google.com <jorgegil@google.com>2021-04-12 14:20:03 -0700
commitbf5d97ba93c7d7965ab8d21204e3dd89a765b08c (patch)
tree9e7d96a9734aa26c8526cd69a1dc2573a4c488ec /tools/aapt2/java/JavaClassGenerator.cpp
parentb5cc4a537bbafe0a84ba74735374291656ec8c98 (diff)
Fix race when rotating the display during an entry into PIP
Rotating the display while the PIP task had just appeared caused a race between the alpha entry animation starting and the rotation controller handling that changes the PIP bounds, resulting in a bounds mismatch between the surface that was animated and the PipBoundsState.mBounds This CL tracks whether we're still waiting for the alpha entry animation to start when a rotation callback comes in, and restarts the fade in after adjusting to the rotation. Bug: 184664409 Test: In gesure nav, open YT go to fullscreen landscape mode and launch another an activity from a notification - verify PIP fades in and its bounds match the ones in PipBoundsState Change-Id: I339d5088fb5f23f08fe8d548b9d02a34c16779d6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions