Set ContactInfo.normalizedNumber to null for SIP addresses
At michaelbai's recommendation, set info.normalizedNumber to null after
looking up a SIP address in the contacts database, since SIP addresses
have no concept of a "normalized number".
(This is a followup to https://android-git.corp.google.com/g/71355 , which
was a manual merge from gingerbread. The manual merge was necessary
because the ContactInfo.normalizedNumber field only exists in master.)
Change-Id: I5b56c0bd132efcc7eba2792cc719a534f289f409
diff --git a/src/com/android/contacts/RecentCallsListActivity.java b/src/com/android/contacts/RecentCallsListActivity.java
index 9275e52..3a6b35e 100644
--- a/src/com/android/contacts/RecentCallsListActivity.java
+++ b/src/com/android/contacts/RecentCallsListActivity.java
@@ -398,7 +398,7 @@
// Note Data.DATA1 and SipAddress.SIP_ADDRESS are equivalent.
info.number = dataTableCursor.getString(
dataTableCursor.getColumnIndex(Data.DATA1));
- info.normalizedNumber = info.number;
+ info.normalizedNumber = null; // meaningless for SIP addresses
infoUpdated = true;
}