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

Commit 72623efd authored by Chen Xu's avatar Chen Xu Committed by Android Partner Code Review
Browse files

Merge "Fix the issue of reading ADN EF failure" into mm-wireless-dev

parents 3a5b9323 3be9fb03
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -93,9 +93,7 @@ public class IccPhoneBookInterfaceManager {
                            mRecords = (List<AdnRecord>) ar.result;
                        } else {
                            if(DBG) logd("Cannot load ADN records");
                            if (mRecords != null) {
                                mRecords.clear();
                            }
                            mRecords = null;
                        }
                        notifyPending(ar);
                    }
+3 −6
Original line number Diff line number Diff line
@@ -106,8 +106,7 @@ public class IccSmsInterfaceManager {
                            if (Rlog.isLoggable("SMS", Log.DEBUG)) {
                                log("Cannot load Sms records");
                            }
                            if (mSms != null)
                                mSms.clear();
                            mSms = null;
                        }
                        mLock.notifyAll();
                    }
@@ -297,11 +296,9 @@ public class IccSmsInterfaceManager {
            IccFileHandler fh = mPhone.getIccFileHandler();
            if (fh == null) {
                Rlog.e(LOG_TAG, "Cannot load Sms records. No icc card?");
                if (mSms != null) {
                    mSms.clear();
                mSms = null;
                return mSms;
            }
            }

            Message response = mHandler.obtainMessage(EVENT_LOAD_DONE);
            fh.loadEFLinearFixedAll(IccConstants.EF_SMS, response);