summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2022-02-02 17:13:21 +0000
committerVishnu Nair <vishnun@google.com>2022-02-16 19:01:10 +0000
commit55c1473bf2fedaacf7bb8ac068e6f9b1a625b5e0 (patch)
treed027023b32dc90e66a1a83cb684d32d2f515c826 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5aa3d2169375ba5fbe3490357df57de35fec9294 (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 Merged-In: I316b76b685ca5030fd8aa91283555efcce4d6994
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions