summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2023-03-21 16:15:43 +0000
committer Nick Chameyev <nickchameyev@google.com> 2023-03-31 11:45:45 +0000
commit985a3bfe6a2edccf2d3a51f02904dee3cb654182 (patch)
tree2564fac55654d005c7756c60a0aaad9d8c0cf366 /libs/androidfw/FileStream.cpp
parent9ed16e1beed64986cb0847439ffeae1dc2f208fc (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 Merged-In: I1b07e1e84ab1cafb0f2794d62d99e114908fe840
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions