Yi Jiang 6942cbb181 Disables Smart AutoRotate in lock screen.
Currently camera based auto-rotate runs in the lock screen. It conflicts
with face auth and sometimes blocks face unlocking.

So this change will disable the smart auto-rotate whenever the key guard
is locked, and fall back to the recent screen orientation, or portrait
mode if there is no recent orientation.

Bug: 187429135
Test: atest WindowOrientationListenerTest
Test: manually tested the feature.

Change-Id: Idb38d60092de0fa7046e7b68baef9288805cb590
2021-05-27 12:59:58 -07:00
2021-05-20 14:24:50 -07:00
…
…
2021-05-13 08:24:32 +00:00
…
…
…
…
2021-05-18 23:00:26 +00:00
…
…
2021-05-14 10:30:49 +08:00
…
…
…
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%