summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Jerry Chang <chenghsiuchang@google.com> 2023-06-06 09:22:55 +0000
committer Brian Egizi <begizi@google.com> 2023-06-13 16:04:23 +0000
commit3701089a21f551377db03665a32354098668f256 (patch)
tree75d2eeca814b1572077f45c42384acdc15e20c08 /libs/androidfw/AttributeResolution.cpp
parent0be7013a944c98fcb50e42c79ef4934e196ea497 (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. Updtaes to stop house keeping DisplayLayout separately in split screen component by fetching it from DisplayController directly. Cherry picked Ica32c817ef414f550931a50ec919e3114a075e2c to master due to b/286408867. Code was merged via `-s ours` and is missing even though the sha exists on the target branch. Cherry pick is required to bring in the code. Manually remove the "Merged in" directive to allow for downstream propagation. 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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1ffdf22a145a13c79cc15612f6b0b9bd043d7b24) Change-Id: I5e087d163c0ed793a3d9552d463e43300c7115cc
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions