Merge "Redact key value from log when DEBUG is false" am: 17a7d79ff4 am: 694cf0f6af am: 23315f8003

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1458401

Change-Id: I207038219be0fdbd84454a8c8d1cce3b052f8a12
This commit is contained in:
Suprabh Shukla
2021-09-30 00:11:45 +00:00
committed by Automerger Merge Worker

View File

@@ -646,7 +646,7 @@ public final class ArrayMap<K, V> implements Map<K, V> {
e.fillInStackTrace();
Log.w(TAG, "New hash " + hash
+ " is before end of array hash " + mHashes[index-1]
+ " at index " + index + " key " + key, e);
+ " at index " + index + (DEBUG ? " key " + key : ""), e);
put(key, value);
return;
}