diff options
author | Rambo Wang <rambowang@google.com> | 2020-01-07 19:10:35 -0800 |
---|---|---|
committer | Rambo Wang <rambowang@google.com> | 2020-01-09 16:09:15 -0800 |
commit | 82a5ab8ada6e6d77ecbf3de7f36338fa892d0455 (patch) | |
tree | 453edaf1e39465c1cb483103f75c5d137141160c /rs/java/android/renderscript/ProgramFragment.java | |
parent | 9c8b644b836d45f6ec0888dbf0936a195aa29e24 (diff) |
Expose permission READ_PRECISE_PHONE_STATE as public API
PhoneStateListener will check if apps declare permision
READ_PRECISE_PHONE_STATE when apps try to register the following
phone state change:
- LISTEN_PRECISE_CALL_STATE
- LISTEN_DATA_CONNECTION_REAL_TIME_INFO
- LISTEN_CALL_DISCONNECT_CAUSES
- LISTEN_CALL_ATTRIBUTES_CHANGED
- LISTEN_IMS_CALL_DISCONNECT_CAUSES
But as this permission is hide. None of the public APIs can request
the permission from apps in the javadoc.
By publishing the permission, we can receive intended request from
apps and all APIs require the permission can declair in javadoc.
Bug: 147324131
Test: N/A
Change-Id: I0234ebcba705e43ab7e8bc625516c4bcb10cd0b2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions