commit | 39675c9bbec050c5fd620699a160b8e81245bb3b | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Tue May 30 18:59:34 2023 +0000 |
committer | Kevin Chyn <kchyn@google.com> | Thu Jun 01 20:50:29 2023 +0000 |
tree | 8f975816ef10c8de0a3856518ba3f6de87c84f13 | |
parent | 5c19dbf527cb0b232bb70e05222e8367b2012b95 [diff] |
Add check in #shouldReverseRotationDirectionAroundZAxis ... to return false for non-default displays. The property that it uses (config_deviceStatesToReverseDefaultDisplayRotationAroundZAxis) indicates that it should only apply to default displays. Fixes: 281939489 Test: Steps in b/281939489#comment#11 Test: atest DisplayRotationTests Test: Rear display mode rotation with and without rotation lock Change-Id: I0d9d606b22c8cc5f2710b782faad2b44343d6462