Remove ResourcesManager Slog.wtf
LoadedApk.updateApplicationInfo can call getResources while holding the ResourcesManager lock. Remove the wtf and replace it wuth a debug warning. Bug: 165367316 Change-Id: I734688edd4e1d218fd0e2438b47ee05e477aa79f Test: presubmit
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user