Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5f6167b7 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

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
parent e37ef8a3
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