+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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