Svet Ganov 56c4148e41 Throw on revoked location permission - framework
When we fixed proper handling of location permisison gating
sensitive telephony calls we stopped throwing a security
exception when the permission is not held by the caller.
While this is not a security issue there is no reason to
change this behavior which is checked by CTS. This CL starts
throwing a security exception if the permission is not held.

Test: atest android.permission.cts.NoLocationPermissionTest

bug: 74074103

Merged-In: Ic891d62b408c692f84a345f24503f7f25d583e35
Change-Id: Ic891d62b408c692f84a345f24503f7f25d583e35
(cherry picked from commit 33b150937522ccda37567c1303117ac8f1bb6f7f)
2018-08-02 11:35:00 -07:00
..
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2018-07-05 15:23:40 +09:00
2017-12-12 23:22:25 +00:00
2018-07-26 10:28:18 -07:00