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

Commit df676dc0 authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Do not load Download roots multiple times.

Change-Id: I26685db7fc7a4fb98db695ba6e0e351974eadd6c
parent 45a55116
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -167,6 +167,9 @@ public class RootsCache {
    private void loadStoppedAuthority(String authority) {
        final ContentResolver resolver = mContext.getContentResolver();
        synchronized (mLock) {
            if (!mStoppedAuthorities.contains(authority)) {
                return;
            }
            if (DEBUG) {
                Log.d(TAG, "Loading stopped authority " + authority);
            }