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
7 files changed