commit | 1c11dba2c18b5c25900e3c55c9a9cecf81fac229 | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Tue Sep 22 17:54:53 2020 -0700 |
committer | Nathan Harold <nharold@google.com> | Thu Sep 24 22:16:13 2020 +0000 |
tree | 061fbcb337c4ca3bd54ae082e2375a94c043a192 | |
parent | c405e1d49505813771e2f55b79beec6b2bd73715 [diff] |
Allow Location-off NetworkScan without READ_PRIV There is a bug that was failing to perform the carrier privileges permissions check unless the caller had READ_PRIVILEGED_PHONE_STATE. Update the check to use a different method for verifying carrier privileges that doesn't require READ_PRIVILEGED_PHONE_STATE as a prereq. Bug: 169022494 Test: ag/12690432 Change-Id: Ia8779004e98f63c1fca82fa6d3ccffb445d9fde9