Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit ef6b2a44 authored by Taran Singh's avatar Taran Singh Committed by Kevin F. Haggerty
Browse files

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
(cherry picked from commit 70a501d0)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cb2b75309466a624e75be6967657f312be91ed30)
Merged-In: I6470d1684d707f4b1e86f8b456be0b4e0af5f188
Change-Id: I6470d1684d707f4b1e86f8b456be0b4e0af5f188
parent 4f47088e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment