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

Skip to content
Commit a92b91d7 authored by Scott Mertz's avatar Scott Mertz Committed by Gerrit Code Review
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

Change-Id: I53c2804d0283692036f5cc95e6ad57821bc0655a
parent 66af012f
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