From 95b2537946f2af718122a796662b025206cffd91 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 8 Oct 2013 10:35:40 -0700 Subject: Don't show PII in logs for JSON-encoded uris Bug: 11127944 Change-Id: Id362b5bcd5822779aa070143f5d292da70e85ed1 --- src/com/android/dialer/calllog/ContactInfoHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/android/dialer/calllog/ContactInfoHelper.java b/src/com/android/dialer/calllog/ContactInfoHelper.java index bcba9ff37..bcb98fd48 100644 --- a/src/com/android/dialer/calllog/ContactInfoHelper.java +++ b/src/com/android/dialer/calllog/ContactInfoHelper.java @@ -130,9 +130,9 @@ public class ContactInfoHelper { return Contacts.CONTENT_LOOKUP_URI.buildUpon() .appendPath(Constants.LOOKUP_URI_ENCODED) - .appendQueryParameter(Constants.LOOKUP_URI_JSON, jsonString) .appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(Long.MAX_VALUE)) + .encodedFragment(jsonString) .build(); } catch (JSONException e) { return null; -- cgit v1.2.3