828a763161a8e9312052de1864f2f1954dd468c5 |
|
14-Feb-2018 |
Jeff Davidson <jpd@google.com> |
Factor out telephony permission checks into a helper class. The aim is to cut down on duplicate code (for a particularly high-risk area) and make it easier to expand READ_PHONE_STATE access to carrier-privileged apps in a follow-up CL. No major functional changes are intended, although some logging will change slightly (different tag / less verbose carrier privilege logging without DBG flag). Bug: 70041899 Test: bit FrameworksTelephonyTests:*, nothing visibly broken on boot Change-Id: I3d45a3b50f6e50fbfc5118579f22b90019bf68c1
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/TelephonyPermissionsTest.java
|