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

Commit 99a574c1 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Automerger Merge Worker
Browse files

Merge "Notify waiters even if mMaxAdnCapacity of SIM is 0." am: 9e80acc9 am: 043f4b9f

parents 76c2880f 043f4b9f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -446,6 +446,7 @@ public class SimPhonebookRecordCache extends Handler {
                notifyAdnLoadingWaiters();
                tryFireUpdatePendingList();
            } else {
                notifyAdnLoadingWaiters();
                logd("ADN capacity is invalid");
            }
            mIsInitialized.set(true); // Let's say the whole process is ready
@@ -455,6 +456,9 @@ public class SimPhonebookRecordCache extends Handler {
                mIsCacheInvalidated.set(false);
                notifyAdnLoadingWaiters();
                tryFireUpdatePendingList();
            } else if (!newCapacity.isSimValid()) {
                mIsCacheInvalidated.set(false);
                notifyAdnLoadingWaiters();
            } else if (!mIsUpdateDone && !newCapacity.isSimEmpty()) {
                invalidateSimPbCache();
                fillCacheWithoutWaiting();