Coordinate rotation for concurrent mode
1) Adds DisplayRotationCoordinator which is used to coordinate
default display rotation changes with non-default displays.
2) We now create DeviceStateController in RootWindowContainer and pass
a single instance to DisplayContent/DisplayRotation. This allows
for (3) below
3) Adds TestDisplayContent.Builder#setDeviceStateController, which
allows tests to mock deviceStateController behavior
Bug: 251747141
Bug: 267343444
Test: atest DisplayRotationCoordinatorTests
Test: atest DisplayRotationTests
Test: atest DisplayContentTests
Test: atest DualDisplayAreaGroupPolicyTest
Test: presubmit for other unit tests
Test: manual
Change-Id: Ifae3806079ece87d6d14d09b3025ee19f9c9d226
13 files changed