Show a disambig dialoge to choose a number when initiating a call on a contact.
This fixes 2098966
Change-Id: I6fd80a2fe25ab1b6d36d913cb96c7927939512b7
diff --git a/src/com/android/contacts/ViewContactActivity.java b/src/com/android/contacts/ViewContactActivity.java
index ddd0abb..d2328ee 100644
--- a/src/com/android/contacts/ViewContactActivity.java
+++ b/src/com/android/contacts/ViewContactActivity.java
@@ -614,17 +614,7 @@
}
// Update the primary values in the data record.
- ContentValues values = new ContentValues(2);
- values.put(Data.IS_PRIMARY, 1);
-
- if (entry.ids.size() > 0) {
- for (int i = 0; i < entry.ids.size(); i++) {
- getContentResolver().update(ContentUris.withAppendedId(Data.CONTENT_URI,
- entry.ids.get(i)),
- values, null, null);
- }
- }
-
+ ContentValues values = new ContentValues(1);
values.put(Data.IS_SUPER_PRIMARY, 1);
getContentResolver().update(ContentUris.withAppendedId(Data.CONTENT_URI, entry.id),
values, null, null);