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
appops first draft

Change-Id: Idf8772ae4926ba064391749d72c3b47884ee27d2
Merge branch 'jb43' of https://github.com/ParanoidAndroid/android_packages_apps_Settings into jb43-legacy
Merge remote-tracking branch 'settingsPA/jb43-legacy' into jb43-legacy