DescriptionAuto rotate on lid rotation changes.
Based on patch to read the accelerometer https://codereview.chromium.org/200643005, this listens to accelerometer updates and rotates the screen.
BUG=342907
TEST=MaximizeModeControllerTest.AccelerometerRotation, MaximizeModeControllerTest.AccelerometerIgnoresLowAngles, MaximizeModeControllerTest.AccelerometerSticky, MaximizeModeControllerTest.RotationOnlyInMaximizeMode
TEST=Rotate device, ash should rotate to match device orientation.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261692
Patch Set 1 #Patch Set 2 : Rotate the screen on lid rotation. #Patch Set 3 : Stick to current rotation and add tests. #
Total comments: 7
Patch Set 4 : Merge screen rotation detection with auto maximize mode controller. #Patch Set 5 : Merge with master and update class comment. #
Total comments: 4
Patch Set 6 : Add local store comment to TODO and use display manager test api to set internal display id. #Patch Set 7 : Merge with master. #
Messages
Total messages: 10 (0 generated)
|