diff options
author | Nathan Harold <nharold@google.com> | 2020-02-06 20:59:18 -0800 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2020-02-06 21:12:30 -0800 |
commit | 0d9a92bd53e9d5396b00b55b43db8ae1340ff17c (patch) | |
tree | c471c7c6310c315707e28ba864afcd16acb92c08 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c997463eb73d653b3dfa76278ed3bd1edddeec3a (diff) |
Update Privileges for BARRING_INFO and REG_FAILURE
Modify the privilege for LISTEN_BARRING_INFO and for
LISTEN_REGISTRATION_FAILURE to require READ_PRECISE_PHONE_STATE.
Because both of these should only be of interest to special-
purpose applications such as Carrier Apps or diagnostics apps,
limit the permissions to encourage barring info to be collected
via NET_CAPABILITY_NOT_CONGESTED, and for registration failure
to be learned in a more digestible fashion via ServiceState.
Bug: 149061935
Test: atest TelephonyManagerPermissionTest && atest CarrierApiTest
Change-Id: If8c915745951d745a5b30e9c44732db704f09a8d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions