Skip to content
Commit 985a3bfe authored by Nick Chameyev's avatar Nick Chameyev
Browse files

Prevent autorotation during hinge movement

Pauses autorotation when hinge angle sensor
reports values and display switch.
This reduces accidental rotation while
folding or unfolding a foldable device.

Bug: 233055896
Test: atest WmTests:DisplayRotationTests
Change-Id: I1b07e1e84ab1cafb0f2794d62d99e114908fe840
Merged-In: I1b07e1e84ab1cafb0f2794d62d99e114908fe840
parent 9ed16e1b
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