Apply fg/bg state in default grant policy

The fg/bg state is encoded in the app-op of the foreground permission.
I.e. depending whether the background permission is granted, the
foregrounds app-op state need to be different.

Test: Checked that default browser has both fg and bg location
Change-Id: I1428b65f95b23c921a3a5f69d84efe9124b51cd1
1 file changed