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)
This commit is contained in:
Sailesh Nepal 2014-02-20 18:11:40 -08:00
parent ebd9b665a3
commit 155ab5168a
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}