Enable proximity sensor while call is ringing

Fixes #4519

// FREEBIE
This commit is contained in:
brumsel 2015-11-13 19:58:46 +01:00 committed by Moxie Marlinspike
parent 43c784f564
commit 09cac1e36b

View File

@ -208,7 +208,7 @@ public class RedPhoneService extends Service implements CallStateListener, CallS
sendMessage(Type.OUTGOING_CALL, recipient, null); sendMessage(Type.OUTGOING_CALL, recipient, null);
state = STATE_DIALING; state = STATE_DIALING;
lockManager.updatePhoneState(LockManager.PhoneState.INTERACTIVE); lockManager.updatePhoneState(LockManager.PhoneState.IN_CALL);
this.currentCallManager = new InitiatingCallManager(this, this, localNumber, password, this.currentCallManager = new InitiatingCallManager(this, this, localNumber, password,
remoteNumber, zid); remoteNumber, zid);
this.currentCallManager.start(); this.currentCallManager.start();