summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Jerry Chang <chenghsiuchang@google.com> 2023-06-06 09:22:55 +0000
committer Jerry Chang <chenghsiuchang@google.com> 2023-06-08 09:13:49 +0000
commit9ddbdcae23e2bc32b1b470aff0fffdf6c74bfef8 (patch)
tree186c178441360c2d1fa07e64187598fd1db46238 /api/api.go
parent522646d7ee00ece981d7bd4425c146f7b2a5c7db (diff)
Fix wrong divider position after rotation
Ratating from 270 -> 0 -> 90 keeps wrong "mNonDecorInsets" in the DisplayLayout of split screen due to not updating insetsState when insetsChanged. Updates to stop house keeping DisplayLayout separately in split screen component by fetching it from DisplayController directly. Fix: 285854252 Test: atest WMShellUnitTests Test: manual by issue steps: 1) Launch apps to enter split-screen mode 2) Rotate to 270 3) Rotate to 0 4) Rotate to 90 5) Expect the position of split-tasks is right Merged-In: Ica32c817ef414f550931a50ec919e3114a075e2c Change-Id: Ica32c817ef414f550931a50ec919e3114a075e2c
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions