DescriptionScreenOrientationController to start observing even without an internal display.
Ozone loads display configurations asynchronously. Due to this the internal
display is not always known when Maximize Mode is triggered.
Update ScreenOrientationController to become an observer even when there is no
internal display ready yet. That way, once it becomes ready, it is able to
process accelerometer events.
TEST=ScreenOrientationControllerTest.InternalDisplayNotAvailableAtStartup
BUG=chrome-os-partner:38796
Committed: https://crrev.com/31fed68a524d49f99cebf02dca6ad49019e9900c
Cr-Commit-Position: refs/heads/master@{#325298}
Patch Set 1 : #
Total comments: 1
Patch Set 2 : #
Messages
Total messages: 11 (4 generated)
|