Skip to content
Commit 2befe0b8 authored by jorgegil@google.com's avatar jorgegil@google.com
Browse files

Use updated source rect hint in PIP exit animation

This change does a couple of things:
1. Make sure to use the latest sourceRectHint when starting the exit
animation.
2. Remove deferral of the call to ITaskOrg#onTaskInfoChanged from
ATM#setPipParams so that the updated rect hint can be received in
PipTaskOrganizer without waiting for WindowContainer#prepareSurfaces
to be called.

Bug: 167447693
Test: exit animation performs uncrop and scale using new rect
provided by test app after re-layout on exit PIP

Change-Id: I2a2be39f65adf5ee88f3351950d6707e8e53f089
parent 4a11c440
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