diff options
author | Ben Lin <linben@google.com> | 2019-12-13 11:18:58 -0800 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2019-12-13 11:18:58 -0800 |
commit | fc31cb4b34a7e347ce79f88d0518383751cde7f6 (patch) | |
tree | 68fe6bcf76df3b6820b8485a9b27270151cc3b7c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | dd07c258728d3c2b0c3c6b6e697b5d225358060b (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