summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-03-31 20:49:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-31 20:49:53 +0000
commitea8fa952d9024a136a401b5c1cf6a546c870d81f (patch)
tree509b37864090bd7841ff852466c4dbf657c147e5
parente16ffa2f43819d8a393f96f182ea7422c0f5ccf6 (diff)
parent774c0a924d00544e40a61a6d3bd13e967c5fd428 (diff)
Merge "Ensure contact identifier is consistent for all letter tile avatars"
-rw-r--r--src/com/android/dialer/calllog/ContactInfoHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/ContactInfoHelper.java b/src/com/android/dialer/calllog/ContactInfoHelper.java
index dfe7aed79..5d99ef4fb 100644
--- a/src/com/android/dialer/calllog/ContactInfoHelper.java
+++ b/src/com/android/dialer/calllog/ContactInfoHelper.java
@@ -270,7 +270,7 @@ public class ContactInfoHelper {
final List<String> segments = lookupUri.getPathSegments();
// This returns the third path segment of the uri, where the lookup key is located.
// See {@link android.provider.ContactsContract.Contacts#CONTENT_LOOKUP_URI}.
- return (segments.size() < 3) ? null : segments.get(2);
+ return (segments.size() < 3) ? null : Uri.encode(segments.get(2));
} else {
return null;
}