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

[PhoneStateListener] Redesign PhoneStateListener: Use TelephonyCallback

To avoid the IDE does not have the warn if developers implement callback:

1. Revert PhoneStateListener to Android 11 version.
2. New TelephonyCallback
3. Deprecate the old PhoneStateListener.onXx() callbacks

Bug: 167684594
Test: make and PhoneStateListenerTest and TelephonyCallbackTest
Change-Id: I0fdd7fc3c3d67310197862c84d02f30164ec80d1
Merged-In: I0fdd7fc3c3d67310197862c84d02f30164ec80d1
parent db9b175a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment