mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix leaked receiver when call does not connect.
This commit is contained in:
@@ -138,6 +138,7 @@ public final class WebRtcCallService extends Service implements BluetoothStateMa
|
||||
}
|
||||
|
||||
unregisterNetworkReceiver();
|
||||
unregisterPowerButtonReceiver();
|
||||
|
||||
TelephonyUtil.getManager(this)
|
||||
.listen(hangUpRtcOnDeviceCallAnswered, PhoneStateListener.LISTEN_NONE);
|
||||
|
||||
Reference in New Issue
Block a user