Skip to content
Commit c5aa333a authored by Winson Chung's avatar Winson Chung
Browse files

Fix some minor issues with animating dismiss

- Also decrease the magnetic field radius to bias towards moving
  the PIP vs dismissing it
- Rotation was causing the bounds animation to be canceled while
  mTemporaryBounds was still set leading to the wrong starting
  bounds in the next orientation.  In this case, we can always clear
  temporary bounds whenever synchronizing bounds.

Change-Id: I721785ccabcd2ee94b7dfa9deeb306246bc2e4a3
Bug: 159390687
Bug: 159342554
Test: Drag pip while over dismiss area
Test: Ensure fling to dismiss still works, target is smaller
Test: Rotate while bounds animation is setting and ensure the touch
      is from the right starting bounds in the next orientation
parent 19272a23
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