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

Commit 125dd885 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: I69352471e72670d8f0c7ce52cc5cd43cf3f301d8
parents db323289 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());
        }
    }