diff options
author | arthurhung <arthurhung@google.com> | 2020-08-11 23:07:00 +0800 |
---|---|---|
committer | arthurhung <arthurhung@google.com> | 2020-08-18 09:14:26 +0800 |
commit | 0d0ad1b60b3d9ed08b1df0b3a903af332568cd04 (patch) | |
tree | 2e4da4bc68198a3ea3155f9d0e5987df4970f479 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2c3f50ce8c81638db0d39a92048205fbefc3a99a (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
Change-Id: I7a4c2c4cba7ea670873ab2ac49b9880d9a65cd86
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions