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
Loading
Please register or sign in to comment