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

Commit 4155f108 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Remove and clean EVENT_ISIM_AUTHENTICATE_DONE" am: 5b639d8c am: 47da4762

Change-Id: Ie2f64c82820f3e9e15e67dfbf2578566e7412593
parents 21d82b72 47da4762
Loading
Loading
Loading
Loading
+0 −25
Original line number Diff line number Diff line
@@ -45,9 +45,6 @@ public class IsimUiccRecords extends IccRecords implements IsimRecords {
                                                        // STOPSHIP if true
    public static final String INTENT_ISIM_REFRESH = "com.android.intent.isim_refresh";

    private static final int EVENT_APP_READY = 1;
    private static final int EVENT_ISIM_AUTHENTICATE_DONE          = 91;

    // ISIM EF records (see 3GPP TS 31.103)
    @UnsupportedAppUsage
    private String mIsimImpi;               // IMS private user identity
@@ -62,9 +59,6 @@ public class IsimUiccRecords extends IccRecords implements IsimRecords {
    @UnsupportedAppUsage
    private String auth_rsp;

    @UnsupportedAppUsage
    private final Object mLock = new Object();

    private static final int TAG_ISIM_VALUE = 0x80;     // From 3GPP TS 31.103

    @Override
@@ -117,25 +111,6 @@ public class IsimUiccRecords extends IccRecords implements IsimRecords {
                    super.handleMessage(msg);
                    break;

                case EVENT_ISIM_AUTHENTICATE_DONE:
                    ar = (AsyncResult)msg.obj;
                    log("EVENT_ISIM_AUTHENTICATE_DONE");
                    if (ar.exception != null) {
                        log("Exception ISIM AKA: " + ar.exception);
                    } else {
                        try {
                            auth_rsp = (String)ar.result;
                            log("ISIM AKA: auth_rsp = " + auth_rsp);
                        } catch (Exception e) {
                            log("Failed to parse ISIM AKA contents: " + e);
                        }
                    }
                    synchronized (mLock) {
                        mLock.notifyAll();
                    }

                    break;

                default:
                    super.handleMessage(msg);   // IccRecords handles generic record load responses