From 61b2da9c8aacfc7681b7a328052129806e60fd04 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Thu, 21 Jun 2018 15:33:54 -0700 Subject: [PATCH] Fix NPE during busy call. --- src/org/thoughtcrime/securesms/service/WebRtcCallService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/service/WebRtcCallService.java b/src/org/thoughtcrime/securesms/service/WebRtcCallService.java index 81c4284121..dc517e4183 100644 --- a/src/org/thoughtcrime/securesms/service/WebRtcCallService.java +++ b/src/org/thoughtcrime/securesms/service/WebRtcCallService.java @@ -640,7 +640,7 @@ public class WebRtcCallService extends Service implements InjectableType, switch (callState) { case STATE_DIALING: case STATE_REMOTE_RINGING: setCallInProgressNotification(TYPE_OUTGOING_RINGING, this.recipient); break; - case STATE_IDLE: + case STATE_IDLE: setCallInProgressNotification(TYPE_INCOMING_CONNECTING, recipient); break; case STATE_ANSWERING: setCallInProgressNotification(TYPE_INCOMING_CONNECTING, this.recipient); break; case STATE_LOCAL_RINGING: setCallInProgressNotification(TYPE_INCOMING_RINGING, this.recipient); break; case STATE_CONNECTED: setCallInProgressNotification(TYPE_ESTABLISHED, this.recipient); break;