Stop signal info tone when call is disconnected.
As a follow up to the CL: ag/545703, re-adding the phone disconnection
event handling in CallStateMonitor so that we can stop any signal tones
that we may have started on a call disconnect in CallNotifier.
BUG: 22834581
Change-Id: I012fe7ca9f5191807f4252db26b423feb4a30524
diff --git a/src/com/android/phone/CallNotifier.java b/src/com/android/phone/CallNotifier.java
index bc0e584..2b7d2ff 100644
--- a/src/com/android/phone/CallNotifier.java
+++ b/src/com/android/phone/CallNotifier.java
@@ -206,7 +206,9 @@
case CallStateMonitor.PHONE_DISCONNECT:
if (DBG) log("DISCONNECT");
- onDisconnect((AsyncResult) msg.obj);
+ // Stop any signalInfo tone being played when a call gets ended, the rest of the
+ // disconnect functionality in onDisconnect() is handled in ConnectionService.
+ stopSignalInfoTone();
break;
case CallStateMonitor.PHONE_UNKNOWN_CONNECTION_APPEARED: