Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3838e88 authored by Ryan Mitchell's avatar Ryan Mitchell
Browse files

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
parent 93a9e276
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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());
            }