summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-04-10 10:54:15 -0700
committerBryce Lee <brycelee@google.com>2017-04-11 07:42:11 -0700
commit48f4b57591d08e0c0b1de0fbc7d79ebd915d0cf9 (patch)
tree88d80303e3ee7dd6e7b0102b7fc7d63ab526cdcd /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent9c80a16c458e719fcbdd13ce35caa00ba5874796 (diff)
Don't allow stacks above pinned stack.
Previously, stacks would be allowed above the pinned stack if the pinned stack was not visible. We however do not correct the stack position when the pinned stack later becomes visible. This can lead to a scenario where the pinned stack has become visible yet is below other stacks. When a stack is positioned in this state, an IllegalStateException is thrown to indicate the invalid pinned stack position. Since the pinned stack should only be present and populated when there is a pip activity, we can instead use its presence as an indicator other stacks should be underneath it. This avoids placing a stack above the pinned stack during transitional states where the stack children might not be visible, therefore preventing the above exception from occurring. Fixes: 36669386 Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests#testPinnedStackLocation Change-Id: I67a58806e83b11f0b135c12441bb0a9bec58eee7
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions