diff options
author | Svet Ganov <svetoslavganov@google.com> | 2018-03-07 19:53:43 -0800 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2018-03-28 00:43:55 +0000 |
commit | 33b150937522ccda37567c1303117ac8f1bb6f7f (patch) | |
tree | 9cbeb1b167106331e0d98bc9544bcbc48d2c57b5 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2ae75ba1abd6f02415f93e21ff805e9bdbc5372b (diff) |
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
Change-Id: Ic891d62b408c692f84a345f24503f7f25d583e35
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions