Have a map of background -> foreground permssions

This needs to be available before package manager service is ready,
hence set it as soon as possible.

In the future we should also allow access to this mapping from other
processes than the system server.

Test: Built
Change-Id: If4240e5522e175ea9b341e4951ce261f17bbaadc
2 files changed