|
|
|
@ -680,7 +680,7 @@ public class Log {
|
|
|
|
|
if (element instanceof Long)
|
|
|
|
|
elements[i] = element + " (0x" + Long.toHexString((Long) element) + ")";
|
|
|
|
|
else if (element instanceof Spanned)
|
|
|
|
|
elements[i] = "<redacted>";
|
|
|
|
|
elements[i] = "(span:" + Helper.getPrintableString(element.toString()) + ")";
|
|
|
|
|
else
|
|
|
|
|
elements[i] = (element == null ? "<null>" : Helper.getPrintableString(element.toString()));
|
|
|
|
|
}
|
|
|
|
@ -691,7 +691,7 @@ public class Log {
|
|
|
|
|
} else if (v instanceof Long)
|
|
|
|
|
value = v + " (0x" + Long.toHexString((Long) v) + ")";
|
|
|
|
|
else if (v instanceof Spanned)
|
|
|
|
|
value = "<redacted>";
|
|
|
|
|
value = "(span:" + Helper.getPrintableString(v.toString()) + ")";
|
|
|
|
|
else if (v instanceof Bundle)
|
|
|
|
|
value = "{" + TextUtils.join(" ", getExtras((Bundle) v)) + "}";
|
|
|
|
|
|
|
|
|
|