Skip to content
Commit 82a5ab8a authored by Rambo Wang's avatar Rambo Wang
Browse files

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
parent 9c8b644b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment