summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2019-12-13 11:18:58 -0800
committerBen Lin <linben@google.com>2019-12-13 11:18:58 -0800
commitfc31cb4b34a7e347ce79f88d0518383751cde7f6 (patch)
tree68fe6bcf76df3b6820b8485a9b27270151cc3b7c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdd07c258728d3c2b0c3c6b6e697b5d225358060b (diff)
schedule a PIP update even when the previous stack is the current stack.
From commit 6db8fb274e2e81038f569681d7e4ac602f153b4b, we now only create a new stack when there is more than one activity inside the PIP stack. Additionally, when we expand (exit PIP), we no longer reparent to a fullscreen stack - we simply do a windowing mode change on the existing stack. For expanding, the behavior is now that prevStack == currentStack, so removing this condition. For entering PIP, it is still possible that prevStack != currentStack (multi. activity case) - in that case, we need to ensure one of the new stack is in pinned mode. Bug: 144824244 Test: Open Play Movies in portrait mode, play any movie - hit home to enter PIP. Expand PIP. No longer experience black screen; see from logs that scheduleUpdatePictureInPictureIfNeeded is called. Change-Id: I3232d74110618919fcacbc9edd4eb3cb02f55015
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions