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

Skip to content
Commit 73db2861 authored by Scott Mertz's avatar Scott Mertz
Browse files

fw: enforce android.permission.PREVENT_SYSTEM_KEYS in system server

Since privateFlags can be accessed and modified via reflection
due to change 5d927c2d, the prevent system keys or prevent
power keys flag can be set and deployed without ever calling
setPrivateFlags directly.

Move enforcing to system server to prevent app tampering.

TICKET: CYAN_7921 (open source JIRA)
Found by Maciej Krysztofiak

CYNGNOS-3244
Change-Id: I53c2804d0283692036f5cc95e6ad57821bc0655a
(cherry picked from commit a92b91d7)
parent cacdaa4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment