Fix getAllPermissionWithProtectionLevel().

This method was only used by PermissionPolicyService, but the
implementation didn't take protection flag into account and thus
didn't watch a lot of runtime permissions (e.g. location
permissions). Tests were passing probably because most of the time app
op change is triggered at the same time.

Bug: 136503238
Test: presubmit
Change-Id: I7d88c26b07a117db33047d2987dd47344d155460
3 files changed