Fix crash when bluetooth is unavailable for calling.

This commit is contained in:
Cody Henthorne
2021-04-02 13:09:06 -04:00
parent 9c59d6a69b
commit c4d317b33e
2 changed files with 12 additions and 7 deletions

View File

@@ -131,7 +131,6 @@ public final class WebRtcCallService extends Service implements BluetoothStateMa
wiredHeadsetStateReceiver = null;
}
unregisterNetworkReceiver();
unregisterNetworkReceiver();
TelephonyUtil.getManager(this)