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

Commit 088a1fae authored by Zemiao Zhu's avatar Zemiao Zhu Committed by Automerger Merge Worker
Browse files

Fix test crash because of concurrent access to mRoot. am: 2d68bbe1 am: 1ce39ca1

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DocumentsUI/+/14298152

Change-Id: Ib58bdf48d47f35a74cd0c061960f6774f52476a0
parents cf9e1fda 1ce39ca1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -439,7 +439,7 @@ public class ProvidersCache implements ProvidersAccess, LookupApplicationName {
        waitForFirstLoad();
        loadStoppedAuthorities();
        synchronized (mLock) {
            return mRoots.values();
            return new HashSet<>(mRoots.values());
        }
    }