summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSteve Elliott <steell@google.com>2019-05-03 15:03:38 -0400
committerSteve Elliott <steell@google.com>2019-05-03 17:01:01 -0400
commit48f75dbbb6b3e4ad16ef88cf54544c15cbb0178b (patch)
treea492b26e0c1db125907d691302766ffc26fe4faf /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent2a51ad3b399f3de707af74a7485b426db2311d36 (diff)
Restrict rotation when global actions panel is enabled
Once the orientation changes to portrait, the panel will be displayed, and the orientation will be locked to portrait. If, when global actions is launched and a panel is available, the user has their orientation locked to non-portrait, then their orientation is unlocked, so that they may rotate to portrait in order to see the panel. In all cases, the user's orientation setting is restored once global actions is dismissed. Bug: 129343749 Test: unlock orientation, launch global actions in portrait, notice that orientation is locked, dismiss global actions, notice that orientation is unlocked Test: unlock orientation, launch global actions in non-portrait, rotate to portrait, notice that orientation is now locked, dismiss global actions, notice that orientation is unlocked Test: lock phone orientation to non-portrait, launch global actions, rotate to portrait, notice that orientation is locked, dismiss global actions, notice that orientation has reset and is locked Change-Id: I3972929aede075de69ea5333dcaf445e6ace59b8
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions