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

Commit a0a90a7f authored by Tyler Gunn's avatar Tyler Gunn Committed by Gerrit Code Review
Browse files

Merge "Add error message logging on IccPhoneBookInterfaceManager."

parents e0547bf9 85960b9f
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -75,6 +75,8 @@ public class IccPhoneBookInterfaceManager {
                            logd("GET_RECORD_SIZE Size " + mRecordSize[0] +
                                    " total " + mRecordSize[1] +
                                    " #record " + mRecordSize[2]);
                        } else {
                            loge("EVENT_GET_SIZE_DONE: failed; ex=" + ar.exception);
                        }
                        notifyPending(ar);
                    }
@@ -83,6 +85,9 @@ public class IccPhoneBookInterfaceManager {
                    ar = (AsyncResult) msg.obj;
                    synchronized (mLock) {
                        mSuccess = (ar.exception == null);
                        if (!mSuccess) {
                            loge("EVENT_UPDATE_DONE - failed; ex=" + ar.exception);
                        }
                        notifyPending(ar);
                    }
                    break;
@@ -92,7 +97,8 @@ public class IccPhoneBookInterfaceManager {
                        if (ar.exception == null) {
                            mRecords = (List<AdnRecord>) ar.result;
                        } else {
                            if(DBG) logd("Cannot load ADN records");
                            loge("EVENT_LOAD_DONE: Cannot load ADN records; ex="
                                    + ar.exception);
                            mRecords = null;
                        }
                        notifyPending(ar);