commit | 4fff45499f77f786981395fa8a4509a3700173a4 | [log] [tgz] |
---|---|---|
author | Zoey Chen <zoeychen@google.com> | Mon Feb 22 20:35:23 2021 +0800 |
committer | Zoey Chen <zoeychen@google.com> | Mon Mar 08 15:11:32 2021 +0800 |
tree | b5e8088a444287dff8e8f6c070e9f6d61eb06de4 | |
parent | db9b175a58929ffff8f57dfd5fd8fae1039c09ee [diff] |
[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