am 13a75ecb: Re-introduce workaround for issue 3090362

* commit '13a75ecbb8d8f6b4658dff832133d0fba574d62f':
  Re-introduce workaround for issue 3090362
diff --git a/src/com/android/voicedialer/CommandRecognizerEngine.java b/src/com/android/voicedialer/CommandRecognizerEngine.java
index 166527e..25f0019 100644
--- a/src/com/android/voicedialer/CommandRecognizerEngine.java
+++ b/src/com/android/voicedialer/CommandRecognizerEngine.java
@@ -1093,8 +1093,17 @@
 
                 // add 'CALL JACK JONES', with valid personId
                 if (count == 0 && contactId != VoiceContact.ID_UNDEFINED) {
-                    addCallIntent(intents, ContentUris.withAppendedId(
-                            Contacts.CONTENT_URI, contactId), literal, "", 0);
+                    // TODO: what should really happen here is, we find
+                    // all phones for this contact, and create a label that
+                    // says "call person X at phone type Y", and add intents
+                    // for each of them to the return list.
+                    // It's too late in <del>Gingerbread</del> ICS to add the strings that
+                    // would be required for this, so we'll just ignore this person.
+                    // See also issue 3090362 and 5551677
+
+                    // ACTION_CALL_PRIVILEGED does not work with Contacts.CONTENT_URI.
+                    // addCallIntent(intents, ContentUris.withAppendedId(
+                    //         Contacts.CONTENT_URI, contactId), literal, "", 0);
                 }
             }