summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2017-04-12 21:53:59 -0700
committerWinson Chung <winsonc@google.com>2017-04-12 22:31:12 -0700
commit3f103eb4300b20a7339ac157b0d95009e8d531ac (patch)
treea606f020cda379811bb35a2df385ec9ccb055667 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9aa64e6cfa2bf1cad9883c57c3ffee7d18c40927 (diff)
Fix issue with non-focusable PiP activities being resumed.
- When the change to finish activities was made in ag/2067154, it exposed an issue in pinned stacks where we would resume the next top activity once the top activity finished pausing. Normally, the pinned stack is not focusable, but since it has an alwaysFocusable menu activity it becomes the focused stack and falls into this case. Instead of finding the next top activity, we need to find the next top focusable activity to resume, and fall through to focusing the top activity in the next focusable stack if there is none. Bug: 37199067 Test: android.server.cts.ActivityManagerPinnedStackTests Test: #testNoResumeAfterTaskOverlayFinishes Change-Id: Ib79826ff38bb3beb38a40183ddc6819e5040bb27
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions