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

Commit 137b5e50 authored by songferngwang's avatar songferngwang Committed by SongFerng Wang
Browse files

Avoid to show sim onboarding during the SUW

Bug: 339154888
Test: build pass
Change-Id: Ic0c5b22284a046d76cb1d07e5f6928d1e4c71d2d
parent f472d991
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -385,6 +385,10 @@ public class SimSlotChangeHandler {
    }

    private void startSimConfirmDialogActivity(int subId) {
        if (!isSuwFinished(mContext)) {
            Log.d(TAG, "Still in SUW. Do nothing");
            return;
        }
        if (!SubscriptionManager.isUsableSubscriptionId(subId)) {
            Log.i(TAG, "Unable to enable subscription due to invalid subscription ID.");
            return;