summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-10-08 10:35:40 -0700
committerYorke Lee <yorkelee@google.com>2013-10-08 10:35:40 -0700
commit95b2537946f2af718122a796662b025206cffd91 (patch)
treeead609900622753114e18a0cdd8e43543939dc58
parentff644e0c25e0eddb0e7af4b6782d94c367b8b5c1 (diff)
Don't show PII in logs for JSON-encoded uris
Bug: 11127944 Change-Id: Id362b5bcd5822779aa070143f5d292da70e85ed1
-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 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;