summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2022-01-27 23:29:32 +0000
committerVishnu Nair <vishnun@google.com>2022-02-04 02:14:42 +0000
commit6ac8376cd79ff485dd5531fca3dff2b093c5ea15 (patch)
tree259926ec34af591cbb49d7d4cff1889b79a0bff6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta84612483f2fce702ed8272320d5cff576e65e6f (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 Merged-In: I316b76b685ca5030fd8aa91283555efcce4d6994 Change-Id: I316b76b685ca5030fd8aa91283555efcce4d6994
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions