commit | f50f8dcb0c120f76ab6208e2b204440d19b25a47 | [log] [tgz] |
---|---|---|
author | Nick Chameyev <nickchameyev@google.com> | Tue Mar 21 16:15:43 2023 +0000 |
committer | Nick Chameyev <nickchameyev@google.com> | Fri Mar 31 11:44:36 2023 +0000 |
tree | be4aac6db0ab654aef565899ede3cf70a0536a9d | |
parent | 6a47399c9f5866f9fb59f0cf484533da397982bd [diff] |
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