commit | de10b75b2802b0a74de17a972d007efc0fc19f55 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Thu Sep 19 04:11:33 2013 -0700 |
committer | Santos Cordon <santoscordon@google.com> | Thu Sep 19 19:56:22 2013 -0700 |
tree | c6579030cfd92f5237e0e8587676ebe97112260e | |
parent | 07fae161a1eb1b2b9e00a8377658baa52465c3aa [diff] [blame] |
Hang up all calls if the UI crashes. bug:10823938 Change-Id: I417b4f4e1351efd65de65edaedd778115e605cd1
diff --git a/src/com/android/phone/CallHandlerServiceProxy.java b/src/com/android/phone/CallHandlerServiceProxy.java index 1b05214..18b77ef 100644 --- a/src/com/android/phone/CallHandlerServiceProxy.java +++ b/src/com/android/phone/CallHandlerServiceProxy.java
@@ -297,7 +297,8 @@ // always have an in call ui. unbind(); - // TODO(klp): hang up all calls. + // We were disconnected from the UI. End all calls. + PhoneUtils.hangupAllCalls(PhoneGlobals.getInstance().getCallManager()); } } }