diff options
author | Ben Lin <linben@google.com> | 2019-10-18 16:03:44 -0700 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2019-11-06 18:30:54 -0800 |
commit | 6db8fb274e2e81038f569681d7e4ac602f153b4b (patch) | |
tree | 74568dd2145b311255ace420dc9efa8dedd5b82b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a7aeb79bf352e1d2c9d2743124b7d60b383f6f8a (diff) |
Stop task reparenting when enter/exit PIP.
With only one activity in the PIP task, we can simply change the
windowing mode (this was already done implicitly when re-parenting) and
let the display know the existing stack is the new pinned stack as
opposed to creating a new stack just to move the task over.
With multiple activities, we will remain moving the PIP activity into a
separate stack, but we will move it to a stack with the same windowing
mode as the original rather than a pinned one. Then, we will do a
windowing mode change on it also, so it performs the same as the single
activity case.
When exiting, we then simply do a windowing mode change.
Bug: 143772438
Test: Try PIP with one activity (e.g. Youtube) and multiple activities
(VLC), enter/exits works fine. atest PinnedStackTests
Change-Id: Ie961e120762e5e244f14b6ac181509656b107969
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions