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:
parent
ebd9b665a3
commit
155ab5168a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue