commit | 57bc312f82ce7ff85dc859dde408390f02e3d144 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Oct 21 16:04:15 2019 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Mon Oct 21 16:06:55 2019 -0700 |
tree | ec6ca59a42e55ddcefc1bcafa70a1e66312249b5 | |
parent | 4aa9de9ba65a4c9f65803178e607b4260635a523 [diff] |
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