summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-04-22 12:37:57 -0700
committerRobert Carr <racarr@google.com>2016-04-22 12:37:57 -0700
commit9e76d3292b34c8683b549cc1f56bfff288defb92 (patch)
tree7fb43d199538024eaa61a9bc9d35cb021d2f47c4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta51388d6536bd57c2bbcf18e84d87763d388dbf7 (diff)
Touch region fixes for dialogs and overlapping tasks.
There were two errors. First the function assumes that there are only overlapping tasks in the case of freeform, and so otherwise it is not necessary to union the focused task back at the end (and we can just subtract all the non focused tasks). This won't work though, as there can be for example dialogs over the launcher from another task. We need to always add back the focused task. Secondly, we were requiring a task to have a top visible "main app window" e.g. TYPE_APPLICATION or TYPE_APPLICATION_STARTING. For tasks whose only presence on screen is a dialog this will skip them and we will ignore them one way or another. Bug: 26962445 Change-Id: Idd5c54082409e7c34d9fc7480908c88fb12b378b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions