Skip to content
Commit 9ddbdcae authored by Jerry Chang's avatar Jerry Chang
Browse files

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
parent 522646d7
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