Make Telecom synchronous
Remove main-thread handlers and add a systemwide lock object.
Change-Id: I6334fdfa6c244836f6375bea302404f61c81301b
diff --git a/src/com/android/server/telecom/NewOutgoingCallIntentBroadcaster.java b/src/com/android/server/telecom/NewOutgoingCallIntentBroadcaster.java
index eb43991..a2441ce 100644
--- a/src/com/android/server/telecom/NewOutgoingCallIntentBroadcaster.java
+++ b/src/com/android/server/telecom/NewOutgoingCallIntentBroadcaster.java
@@ -16,6 +16,8 @@
package com.android.server.telecom;
+import com.android.server.telecom.components.UserCallIntentProcessor;
+
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
@@ -156,8 +158,8 @@
* - CALL_PRIVILEGED (intent launched by system apps e.g. system Dialer, voice Dialer)
* - CALL_EMERGENCY (intent launched by lock screen emergency dialer)
*
- * @return {@link UserCallIntentProcessor#OUTGOING_CALL_SUCCEEDED} if the call succeeded, and an
- * appropriate {@link DisconnectCause} if the call did not, describing why it failed.
+ * @return {@link DisconnectCause#NOT_DISCONNECTED} if the call succeeded, and an appropriate
+ * {@link DisconnectCause} if the call did not, describing why it failed.
*/
int processIntent() {
Log.v(this, "Processing call intent in OutgoingCallIntentBroadcaster.");