diff options
author | Winson Chung <winsonc@google.com> | 2016-11-10 17:40:34 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2016-11-11 19:47:32 +0000 |
commit | 0c1ca09dbb0fc6f0acd6cc529e25c01a85ff63c5 (patch) | |
tree | bda53c2b93cadc25ec60fd737e2e23938077bf3d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fcb261cd07259daaf21f2eb7340a7d74308887ac (diff) |
Ensure consistent stack behind PIP when going to/from fullscreen.
- When a fullscreen activity enters PIP, we were previously always
bringing the home stack forward due to the return type being set
to HOME_ACTIVITY_TYPE, causing the home screen to be visible if
expanding PIP over a fullscreen activity and going back into PIP
immediately. This CL instead updates the return-to type to
reflect the stack that was currently open before the pinned task
was made fullscreen again to ensure that it is consistent when
entering PIP again.
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testPipUnPipOverHome
Test: #testPipUnPipOverApp
Change-Id: Id5dd7db1f5a8040ff21190cc347eb6aae5893006
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions