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

Commit 02f9d4b3 authored by fionaxu's avatar fionaxu Committed by Chen Xu
Browse files

add debugging log for ADN record loading

This is to help debugging the potential race condition on loading ADN
record from the SIM. Its unclear why SIM_IO response is received but
the waiting thread is not being notified.

Bug: 64850872
Test: Build
Change-Id: I637a0381c8ab54efc7ae5134aee209d0f1a39bc7
parent 8daf6380
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -523,6 +523,7 @@ public class UsimPhoneBookManager extends Handler implements IccConstants {

        switch(msg.what) {
        case EVENT_PBR_LOAD_DONE:
            log("Loading PBR records done");
            ar = (AsyncResult) msg.obj;
            if (ar.exception == null) {
                createPbrFile((ArrayList<byte[]>)ar.result);
+1 −0
Original line number Diff line number Diff line
@@ -471,6 +471,7 @@ public abstract class IccFileHandler extends Handler implements IccConstants {
                response = lc.mOnLoaded;

                if (processException(response, (AsyncResult) msg.obj)) {
                    loge("exception caught from EVENT_GET_RECORD_SIZE");
                    break;
                }