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
Merged-In: Ia8779004e98f63c1fca82fa6d3ccffb445d9fde9
Change-Id: Ia8779004e98f63c1fca82fa6d3ccffb445d9fde9
(cherry picked from commit 1c11dba2c18b5c25900e3c55c9a9cecf81fac229)
1 file changed