[Telephony] PhoneStateListener redesign for new event
1. Add int EVENT_* and expose these as @SystemApi 2. Add listener interface 3. Deprecated LISTEN_* 4. un/registerPhoneStateListener 5. get event from event listener 6. Add event to list Test: manual and atest TelephonyManagerTest#testRegisterPhoneStateListener atest TelephonyManagerPermissionTest atest CtsTelephonyTestCases:PhoneStateListenerTest atest TelephonyRegistryManagerTest atest CtsTelecomTestCases:android.telecom.cts.IncomingCallTest atest CtsTelecomTestCases:android.telecom.cts.OutgoingCallTest Bug: 167684594 Change-Id: Id89a541745fb8700e1ebd2cc162ee55cd1055661
Loading
Please register or sign in to comment