Merge "Remove ResourcesManager Slog.wtf"

This commit is contained in:
TreeHugger Robot
2020-08-19 15:00:40 +00:00
committed by Android (Google) Code Review

View File

@@ -825,8 +825,8 @@ public class ResourcesManager {
Trace.traceBegin(Trace.TRACE_TAG_RESOURCES,
"ResourcesManager#createApkAssetsSupplierNotLocked");
try {
if (Thread.holdsLock(this)) {
Slog.wtf(TAG, "Calling thread " + Thread.currentThread().getName()
if (DEBUG && Thread.holdsLock(this)) {
Slog.w(TAG, "Calling thread " + Thread.currentThread().getName()
+ " is holding mLock", new Throwable());
}