Fix app ops details not displaying permissions under certain conditions.

If there's a permission that is not granted, the loop is aborted instead
of just skipping said permission.

Change-Id: Icca567ebdd818f40ad6619f258c77590074d1deb
Signed-off-by: Dan Trifan <jimsth@gmail.com>
appops first draft

PS2: vanir-ize a bit
PS3: fix a derp
PS4: move some things around
PS5: rebased

Change-Id: I7404e82731b2d23c77e63ec6f439cecea148c5e7
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Move privacy guard manager where it belongs

Change-Id: I3fabbce51529811580e7ff28003db8b45e5d647c
Signed-off-by: Dan Trifan <jimsth@gmail.com>