summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2020-05-29 12:51:52 -0700
committerHongwei Wang <hwwang@google.com>2020-05-29 16:04:50 -0700
commitb5333e999035ace5ef30d9b4d383c5f04faba19d (patch)
tree73e0372bf9b0f1b39852616b8fc0310ec5d2e6c0 /tools/aapt2/java/JavaClassGenerator.cpp
parentc5401ef01559e59fa92a4ae5f30f1f00f4a4d50c (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions