commit | 0ee3b96e59f3e5699c919af3642130fb33cd263b | [log] [tgz] |
---|---|---|
author | Taran Singh <tarandeep@google.com> | Fri May 19 23:17:47 2023 +0000 |
committer | Taran Singh <tarandeep@google.com> | Fri Jun 02 21:58:54 2023 +0000 |
tree | 5995da39459269cf8d29866a21299ea5de88c554 | |
parent | 11ac41d9b6eddc4733e782984c312fd482a616f3 [diff] |
DO NOT MERGE: Prevent non-system IME from becoming device admin Currently selected IME can inject KeyEvent on DeviceAdminAdd screen to activate itself as device admin and cause various DoS attacks. This CL ensures KeyEvent on "Activate" button can only come from system apps. Bug: 280793427 Test: atest DeviceAdminActivationTest Change-Id: I6470d1684d707f4b1e86f8b456be0b4e0af5f188 (cherry picked from commit 70a501d02e0a6aefd874767a15378ba998759373)