summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorGarfield Tan <xutan@google.com>2019-11-18 13:24:53 -0800
committerGarfield Tan <xutan@google.com>2019-11-19 14:43:26 -0800
commit98eead33fabe16431b548e84602231e1b6761da5 (patch)
treeac06d9849a6f6c98b868c5937cb05467bc8cfcca /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent8b09990e0354ab8889a2a1229f3326d9a223175a (diff)
Use the orientation from the top fullscreen window.
Previously we explicitly ignore orientation from all windows when any freeform stack is visible. That may lead to stretched content in the topmost fullscreen application on phone's primary display. Therefore we allow the topmost fullscreen window specify display rotation even when some freeform windows are visible. This CL may lead to unexpected display rotations on external displays connected to phones with freeform window management support. They need to explicitly set fixed to user rotation if they want to fix rotations on external displays. Therefore we should expose that through hidden API to SysUI as well. Bug: 144185986 Test: Display rotation can be set by the topmost fullscreen window. Test: atest DisplayContentTest#testAllowsTopmostFullscreenOrientation Change-Id: Idbe3daa7500c603c19232d01fb42f1d1f60d9c5e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions