summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-06-23 16:25:31 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-06-29 21:18:58 +0000
commit4b6d4c81a3694fad7d9dc3d18216f3831960e95c (patch)
tree718dae225951257dc5674016971c99023e6e785f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6f383b1b8e5d3a4c798e840136e2a59b8483b024 (diff)
Allow to use fixed rotation with remote swipe-unlock animation
- Remove the restriction of no animation to adopt fixed rotation. Because the old case no longer happens. - Always use orientation of keyguard if its window is visible and device is going to sleep or is sleeping. This avoid unexpected orientation change such as entering portrait AOD while the display is landscape due to the requested orientation of top app. - If device is fully awake, do not use the orientation of keyguard if it is going away or is not showing. So if keyguard cancels the showing state, its orientation won't affect the top app. - Remove unused states and methods in WMS. Bug: 191446147 Test: atest DisplayContentTests#testOrientationDefinedByKeyguard Test: With remote keyguard swipe animation enabled. Launch a landscape app and lock device. Unlock by swipe. The landscape app should show in its original orientation directly. Change-Id: I77708fa9e28cf61c9dfd7aef8da77c3169ce5ad9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions