diff options
author | Hongwei Wang <hwwang@google.com> | 2020-09-08 18:07:43 -0700 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2020-09-10 00:51:53 -0700 |
commit | e07fe5c3b561554f157461c0e92af8928348bd14 (patch) | |
tree | cdb2f0763cbcbac17ebb3475bece622c48193322 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | af78b27fd6b11b7d5557f1b90745edb5eadc5692 (diff) |
Block offset requests prior to entering PiP
When entering PiP directly requested by
Activity#enterPictureInPictureMode in gesture nav mode, there is chance
that offsetPip is scheduled ahead of the actual entering PiP alpha
animation.
Fixed by migrating the mExitingPip and mInPip to a more meaningful
internal State enum and blocks resize requests till the animation is
kicked off.
Bug: 166084738
Test: See reproduce step in b/166084738#comment10
Merged-In: Ie78c9892c29423f10b001bb3d28549ac176cd1c3
Change-Id: Ie78c9892c29423f10b001bb3d28549ac176cd1c3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions