summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-09-24 11:01:31 -0700
committerVishnu Nair <vishnun@google.com>2021-10-18 15:05:08 -0700
commit3b8aa02ba51f26161519f6465515f619e663bbbf (patch)
tree24f0cc9f8dcc3f4a008dab2797192e0142be17a7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent304d678097fed2a648f1d016782be044303c7548 (diff)
Drop input for toast and child surfaces
Toasts that do not have the trustedOverlay flag should not receive input. These windows should not have any children, so force this hierarchy of windows to drop all input by setting a flag on the toast window state which will apply the DROP_INPUT flag on all windows with an input channel. This is to prevent malicious apps from parenting surfaces with input channels to the toast window. Test: show toast and check if input feature flag DROP_INPUT id set via dumpsys Bug: b/197296414 Change-Id: I316b76b685ca5030fd8aa91283555efcce4d6994
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions