summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Jiaming Liu <jiamingliu@google.com> 2022-10-28 22:31:33 +0000
committer Jiaming Liu <jiamingliu@google.com> 2022-11-01 03:39:54 +0000
commitc1a18dea89f0462979a31b7f1799cabd369a4135 (patch)
tree33290d1c15e46c2f45f46cae02b5e4ef5d1b73c6 /api/api.go
parentfac53656ed8c29b00a765fea849b68e4177d150f (diff)
Fix invalidate rotation value which causes CTS failures
The rotation value should be restored only if there is a valid value for mHalfFoldSavedRotation (i.e. mHalfFoldSavedRotation != -1), otherwise, the rotation value will become -1 and cause failures in tests. Bug: 255241217 Test: atest android.hardware.devicestate.cts.DeviceStateManagerTests Change-Id: I07f0d2543d345016c5508046e568e8372f048e27
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions