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

Commit 886684aa authored by Aishwarya Mallamapti's avatar Aishwarya Mallamapti Committed by Aishwarya Mallampati
Browse files

Check mAdnCache is not null before loading FDN.

Bug: 292467876
Test: Manual Verification:
- Enable FDN
- reboot device
- After reboot, no crashes were observed
- Performed basic functionality tests after reboot such as making calls and sending sms using the sim card.
- QA verified and informed that fix is working: b/292467876#comment18

Change-Id: Id4909881f9f6ac509c60889557652632f00a8523
parent 7aa5f91f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1687,7 +1687,7 @@ public abstract class IccRecords extends Handler implements IccConstants {
    }

    public void loadFdnRecords() {
        if (mParentApp != null) {
        if (mParentApp != null && mAdnCache != null) {
            log("Loading FdnRecords");
            mAdnCache.requestLoadAllAdnLike(IccConstants.EF_FDN, EF_EXT2,
                    obtainMessage(EVENT_GET_FDN_DONE));