diff options
author | Yi Jiang <eejiang@google.com> | 2021-05-13 15:29:38 -0700 |
---|---|---|
committer | Yi Jiang <eejiang@google.com> | 2021-05-27 12:59:58 -0700 |
commit | 6942cbb181fd7e26877a1a2584b7ec17ccd0a1db (patch) | |
tree | 9db58e902a01e67adaf1fa8ebae6e2445bbf8e24 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e1d070106981adaf5bbb5b34ed3fd920e12140e7 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions