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
Loading
Please register or sign in to comment