diff options
author | Abel Tesfaye <tesfaye@google.com> | 2021-04-28 22:45:09 +0000 |
---|---|---|
committer | Abel Tesfaye <tesfaye@google.com> | 2021-05-17 18:11:22 +0000 |
commit | 5342e2b7bdae6bcd0df4c3e7a9c30d1067dfd034 (patch) | |
tree | 04711b313bc5c2e87d8e180c4ce6bd36aedba92b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b5ddeefc099ca947320e2ac8b973ed06d10d37a1 (diff) |
Check for locked screen in DisplayRotation and
disable rotation resolver when power save mode is enabled
Disable RotationResolver when the screen is rotation locked.
This fixes an issue where AiAiAutoRotate would run & print to logs
when screen rotation is locked. It also prevents smart auto rotate
from running when power save mode is enabled.
Test: local, enabled auto rotate & camera rotate then disabled
autorotate & checked AiAiAutoRotate didn't show up in logs,
by enabling power save mode and face detection then checking camera
rotation not working
Bug: 185822472
Bug: 186690152
Change-Id: Ie312e85f5d225bcb5cc1036d53e882f01f4f07a9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions