summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-10-08 14:50:51 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-08 14:50:51 -0700
commita6965beee5578785286ec3c522b0f1dc3a3600aa (patch)
tree07c513f5189437e91048a9ebc5e8ddd4581b8f82
parent9d264b6f5beca5ef553119c1734430746d44caa7 (diff)
parenta4bd0ba66fc1545dfb7d4d5962e54d1d715e51c0 (diff)
am a4bd0ba6: am 7d0513e0: Merge "Don\'t show PII in logs for JSON-encoded uris" into klp-dev
* commit 'a4bd0ba66fc1545dfb7d4d5962e54d1d715e51c0': Don't show PII in logs for JSON-encoded uris
-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;