Loading telephony/java/com/android/internal/telephony/CallerInfo.java +35 −22 Original line number Diff line number Diff line Loading @@ -469,9 +469,14 @@ public class CallerInfo { * @return a string debug representation of this instance. */ public String toString() { // Warning: never check in this file with VERBOSE_DEBUG = true // because that will result in PII in the system log. final boolean VERBOSE_DEBUG = false; if (VERBOSE_DEBUG) { return new StringBuilder(384) .append("\nname: " + /*name*/ "nnnnnn") .append("\nphoneNumber: " + /*phoneNumber*/ "xxxxxxx") .append("\nname: " + name) .append("\nphoneNumber: " + phoneNumber) .append("\ncnapName: " + cnapName) .append("\nnumberPresentation: " + numberPresentation) .append("\nnamePresentation: " + namePresentation) Loading @@ -482,8 +487,8 @@ public class CallerInfo { .append("\nphotoResource: " + photoResource) .append("\nperson_id: " + person_id) .append("\nneedUpdate: " + needUpdate) .append("\ncontactRefUri: " + /*contactRefUri*/ "xxxxxxx") .append("\ncontactRingtoneUri: " + /*contactRefUri*/ "xxxxxxx") .append("\ncontactRefUri: " + contactRefUri) .append("\ncontactRingtoneUri: " + contactRefUri) .append("\nshouldSendToVoicemail: " + shouldSendToVoicemail) .append("\ncachedPhoto: " + cachedPhoto) .append("\nisCachedPhotoCurrent: " + isCachedPhotoCurrent) Loading @@ -491,5 +496,13 @@ public class CallerInfo { .append("\nvoicemail " + mIsVoiceMail) .append("\ncontactExists " + contactExists) .toString(); } else { return new StringBuilder(128) .append("CallerInfo { ") .append("name " + ((name == null) ? "null" : "non-null")) .append(", phoneNumber " + ((phoneNumber == null) ? "null" : "non-null")) .append(" }") .toString(); } } } Loading
telephony/java/com/android/internal/telephony/CallerInfo.java +35 −22 Original line number Diff line number Diff line Loading @@ -469,9 +469,14 @@ public class CallerInfo { * @return a string debug representation of this instance. */ public String toString() { // Warning: never check in this file with VERBOSE_DEBUG = true // because that will result in PII in the system log. final boolean VERBOSE_DEBUG = false; if (VERBOSE_DEBUG) { return new StringBuilder(384) .append("\nname: " + /*name*/ "nnnnnn") .append("\nphoneNumber: " + /*phoneNumber*/ "xxxxxxx") .append("\nname: " + name) .append("\nphoneNumber: " + phoneNumber) .append("\ncnapName: " + cnapName) .append("\nnumberPresentation: " + numberPresentation) .append("\nnamePresentation: " + namePresentation) Loading @@ -482,8 +487,8 @@ public class CallerInfo { .append("\nphotoResource: " + photoResource) .append("\nperson_id: " + person_id) .append("\nneedUpdate: " + needUpdate) .append("\ncontactRefUri: " + /*contactRefUri*/ "xxxxxxx") .append("\ncontactRingtoneUri: " + /*contactRefUri*/ "xxxxxxx") .append("\ncontactRefUri: " + contactRefUri) .append("\ncontactRingtoneUri: " + contactRefUri) .append("\nshouldSendToVoicemail: " + shouldSendToVoicemail) .append("\ncachedPhoto: " + cachedPhoto) .append("\nisCachedPhotoCurrent: " + isCachedPhotoCurrent) Loading @@ -491,5 +496,13 @@ public class CallerInfo { .append("\nvoicemail " + mIsVoiceMail) .append("\ncontactExists " + contactExists) .toString(); } else { return new StringBuilder(128) .append("CallerInfo { ") .append("name " + ((name == null) ? "null" : "non-null")) .append(", phoneNumber " + ((phoneNumber == null) ? "null" : "non-null")) .append(" }") .toString(); } } }