From 155ab5168aafcf4cddf641e7e3d52e779eb328b5 Mon Sep 17 00:00:00 2001 From: Sailesh Nepal Date: Thu, 20 Feb 2014 18:11:40 -0800 Subject: [PATCH] Fix disconnect button Pressing disconnect wasn't working because Call.mCallService was being set to null. Bug: 13119666 Change-Id: Ie79d52ad970e39879dc6e695172e2a28e28864d2 (cherry picked from commit be21aba2e97d783f44734d42c27e2506ec5217ac) --- src/com/android/telecomm/OutgoingCallProcessor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/android/telecomm/OutgoingCallProcessor.java b/src/com/android/telecomm/OutgoingCallProcessor.java index bfe8cbce1..9fbcbbe5f 100644 --- a/src/com/android/telecomm/OutgoingCallProcessor.java +++ b/src/com/android/telecomm/OutgoingCallProcessor.java @@ -166,10 +166,9 @@ final class OutgoingCallProcessor { * placed the call. */ void handleSuccessfulCallAttempt() { - abort(); // Technically not needed but playing it safe. mCall.setCallService(mCallService); mCall.setState(CallState.DIALING); - resetCallService(); + abort(); mSwitchboard.handleSuccessfulOutgoingCall(mCall); }