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

Retain current position and expand state on `next video`

- When tap `next video` and SysUI receives onTaskInfoChanged callback,
  it should keep the current expanded state, otherwise the PiP window
  would immediately resized to its unexpanded size. Fixed this by using
  current min edge when getDestinationBounds within onTaskInfoChanged
- When tap `next video`, we should also pass the current bounds to get
  the new destination bounds, otherwise we would move PiP window to its
  default position regardless of its current position

Video: http://go/recall/-/aaaaaabFQoRHlzixHdtY/hpXJhKI3CfDQ54a1sDmWyo
Bug: 157773582
Test: see video
Change-Id: I7515e88a2686015d0073181caa87df9426ff2f5b
parent c5401ef0
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