From 09cac1e36b399b4824ba53ce74f98f07fefd59e1 Mon Sep 17 00:00:00 2001 From: brumsel Date: Fri, 13 Nov 2015 19:58:46 +0100 Subject: [PATCH] Enable proximity sensor while call is ringing Fixes #4519 // FREEBIE --- src/org/thoughtcrime/redphone/RedPhoneService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/redphone/RedPhoneService.java b/src/org/thoughtcrime/redphone/RedPhoneService.java index 7027988163..a94798efe8 100644 --- a/src/org/thoughtcrime/redphone/RedPhoneService.java +++ b/src/org/thoughtcrime/redphone/RedPhoneService.java @@ -208,7 +208,7 @@ public class RedPhoneService extends Service implements CallStateListener, CallS sendMessage(Type.OUTGOING_CALL, recipient, null); state = STATE_DIALING; - lockManager.updatePhoneState(LockManager.PhoneState.INTERACTIVE); + lockManager.updatePhoneState(LockManager.PhoneState.IN_CALL); this.currentCallManager = new InitiatingCallManager(this, this, localNumber, password, remoteNumber, zid); this.currentCallManager.start();