diff options
author | Hongwei Wang <hwwang@google.com> | 2020-09-08 18:07:43 -0700 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2020-09-09 20:30:39 -0700 |
commit | f5051c9d310f6c43b6a9fb6c2919e0be9804d835 (patch) | |
tree | 29175540467e72f9ae01eaba0e06ee17ba58f71a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ac434de9871e61f4da784de53841cfb10a13971d (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
Change-Id: Ie78c9892c29423f10b001bb3d28549ac176cd1c3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions