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

Commit a1e5a910 authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "Add error message logging on IccPhoneBookInterfaceManager."

am: a0a90a7f

Change-Id: Ic9d395c5f8fb3a1580dcb4620b82076d230a2ba4
parents a8aa9957 a0a90a7f
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);