ScreenOrientationController 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 Review URL: https://codereview.chromium.org/1080553002 Cr-Commit-Position: refs/heads/master@{#325298}
Showing
Please register or sign in to comment