diff options
author | Winson Chung <winsonc@google.com> | 2017-04-06 18:44:25 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2017-04-07 14:03:57 -0700 |
commit | 47900650862232c0a9a01045041daaadd60765ac (patch) | |
tree | d5cb0edf9e13cddef25f7de8855c66ba5f5e5833 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | cd501ecd91bd7016639e8e62d4a739a01971f95c (diff) |
Ensure that a PIP activity gets stopped before MW/PIP mode changes.
- Adds a workaround to ensure that onStop() is dispatched to the PIP
activities when the PIP is dismissed
- Consolidating dismiss PIP behavior to call moveTaskToFullscreen().
Now we are consistent, and when we expand the PIP, we call
moveTaskToFullscreen(top), and when dismissing the PIP we call
moveTaskToFullscreen(bottom)
- Fixing issue where we were dispatching extra MW/PIP mode changes when
just expanding the PIP
- Fixing typo in last commit where PIP mode change was not getting
scheduled correctly
- Fixing issue where move-to-fullscreen log was sent for each task
Bug: 36567036
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testStopBeforeMultiWindowCallbacksOnDismiss
Change-Id: I303b88d75e9f136da0c238ef5987804e0684c78e
Signed-off-by: Winson Chung <winsonc@google.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions