Taran Singh 70a501d02e 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.

Fix: 280793427
Test: atest DeviceAdminActivationTest
Change-Id: I6470d1684d707f4b1e86f8b456be0b4e0af5f188
2023-05-26 00:47:08 +00:00
2022-04-14 09:55:36 +00:00
2023-05-19 21:32:19 +00:00
2019-11-25 20:28:35 +09:00
2023-04-12 01:48:48 +00:00
2022-10-06 09:10:38 -07:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%