Fix bug that proximity sensor is turned on too early.
This is caused by setting call state to OUTGOING after it's created but before it's connecting, which incorrectly switches state as NO_CALL -> OUTGOING -> PENDING_OUTGOING -> OUTGOING. The fix is giving it PENDING_OUTGOING state if an outgoing call is initialized but still not yet getting update from telecom to CONNECTING (in which case the call will be IDLE state). Bug: 62965119 Test: manual PiperOrigin-RevId: 161594187 Change-Id: I02c8b4dcb0bfd5101bc69f48bb99c66d4831b72e
Loading
Please register or sign in to comment