Move event management over to XActivityManagerService
Prevent exceptions on missing app info
Integrity check privacy database and better error handling
Fixed restrictions undone when using on demand restricting in some situation
Fixed on demand asking for same restriction
Fixed on demand asking for secondary users
Ask on demand for automatically set dangerous methods
Revert "Ask on demand for automatically set dangerous methods"

This reverts commit fcd3b1fe1d00aef80edbadf4fd9feb3de8090df6.
Revert "Revert "Ask on demand for automatically set dangerous methods""

This reverts commit 70f0c3f12234fa201062945c6a8485117c5b98bd.
Attempt to fix actionbar icon sizes
Really fix icon sizes
More efficient set restriction
Disabling a restriction category will delete exceptions

Closes #1198
Several speed optimizations
Explicitly delete category restriction