Skip to content
Commit 4e016ac1 authored by Zoey Chen's avatar Zoey Chen
Browse files

[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
parent 164eb20e
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