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

Commit 6fc35c06 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Use multi-field logs to log permissions

Before this change each permission+action combo had it's own ID. This
was very fragile and did not work for non-system permissions.

Now the action is the log-type and the permission is just a field in the
log.

Removed EventLogger test as all this test was supposed to do was
prevent issues with permission-action not having the proper IDs. This
obviously did not help.

Test: Used API 23 and API 26 apps to grant and revoke permission and
      confirmed logs are as expected

Change-Id: Id35e3250fcf875bde34953aa57c95ccd0880548a
parent 01fa7318
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