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

Skip to content
Commit e07fe5c3 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

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
parent af78b27f
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