summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorarthurhung <arthurhung@google.com>2020-08-11 23:07:00 +0800
committerArthur Hung <arthurhung@google.com>2020-08-26 15:19:43 +0000
commit80951fa9a8f77685d3845c14c2e0de364787b2cc (patch)
treec084b8598764084eb6c851602e5e88a14b30b098 /tools/aapt2/java/JavaClassGenerator.cpp
parentf1677fcee5cfd316ae7043992bfbaf434ba13b3a (diff)
Introduce INPUT_CONSUMER permission for InputConsumer
Add the permission protect to createInputConsumer/destoryInputConsumer in WindowManagerService to prevent it is possible for an app to consume all the touch events and deny them from even reaching System UI. Also fix the wallpaper inputconsumer should only show when we found a visible wallpaper window. Also limit 'createInputConsumer' to the defined types. Test: atest PermissionPolicyTest Test: ceate/destory an inputconsumer and test input Fix: 162324374 Merged-In: I7a4c2c4cba7ea670873ab2ac49b9880d9a65cd86 Change-Id: I7a4c2c4cba7ea670873ab2ac49b9880d9a65cd86 (cherry picked from commit 0d0ad1b60b3d9ed08b1df0b3a903af332568cd04)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions