[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
Loading
Please register or sign in to comment