Use callId for all call commands.
Change-Id: I988643cdaaffb1abf2689844d119d5e382b9791b
diff --git a/src/com/android/phone/PhoneGlobals.java b/src/com/android/phone/PhoneGlobals.java
index 36687ce..650e2eb 100644
--- a/src/com/android/phone/PhoneGlobals.java
+++ b/src/com/android/phone/PhoneGlobals.java
@@ -542,12 +542,12 @@
// Monitors call activity from the telephony layer
callStateMonitor = new CallStateMonitor(mCM);
- // Service used by in-call UI to control calls
- callCommandService = new CallCommandService(this, mCM);
-
// Creates call models for use with CallHandlerService.
callModeler = new CallModeler(callStateMonitor, mCM);
+ // Service used by in-call UI to control calls
+ callCommandService = new CallCommandService(this, mCM, callModeler);
+
// Sends call state to the UI
callHandlerServiceProxy = new CallHandlerServiceProxy(this, callModeler,
callCommandService);