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

Skip to content
Commit 806c0bbb authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Steve Kondik
Browse files

pm: remove stale permissions



Remove all previously declared permissions of an app, that currently aren't defined in
is actual version. Only remove a permission when:

1.- The app is not the system app
2.- The permission is a normal permission (ignore dynamic and builtin ones, and hence
       permissions derived from a permission-tree)
3.- The permission isn't currently declared by the app
4.- Do not apply if the PackageManager is running in "onlyCore" mode

Change-Id: Ie42a13bd94f0689570426ed06244b31d1213c1aa
JIRA: CML-125
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 69e8d76f
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