[Telephony] TelephonyCallback API update
- Keep the permission consistency 1. PhoneStateListener.LISTEN_XXX 2. PhoneStateListener.onXxxxx 3. TelephonyCallback.EVENT_XXX 4. XxxListener.onXxxx - Remove the permission to keep the consistency with PSL 1. DataConnectionSTateListener 2. DataActivityListener, 3. SignalStrengthListener, 4. DataActivationStateListener 5. UserMobileDataStateListener 6. PhoneCapabilityListener - Remove AlwaysReportedSignalStengthListener - onCellInfoChanged and onActiveDataSubscriptionIdChanged: Should add READ_PHONE_STATE in TelephonyCallback and PSL, target SDK to check the permission Bug: 182478738 Test: make Change-Id: I0b477e5f53f4187223808258b45f0b5f0c1d5578
Loading
Please register or sign in to comment