Skip to content
Commit 1ced33a4 authored by Ben Lin's avatar Ben Lin
Browse files

Pass current PIP bounds to #updateReentryBounds.

When PIP exits, we attempt to save the current bounds so we know what
bounds to be used on PIP re-entry. This uses
PipTaskOrganizer#getLastReportedBounds, but this is not accessed in a
synchornized banner; it is possible that by the time it is accessed, it
is changed by something else (for example, PIP Animation). At the time
of #onPipTransitionStarted, just save the current PIP bounds and pass it
down.

Bug: 160721096
Test: Multiple re-entry of PIP result in the same bounds
Change-Id: I27a1ad3a2257333c9afedf13520f44406d07cd68
parent 58bc5a73
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