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

Commit 881029c6 authored by kaiyiz's avatar kaiyiz Committed by Xiaojing Zhang
Browse files

Settings: Remove duplicate toast.

After tips "Unable to Change SIM/RUIM  PIN.Enable SIM/RUIM Lock"
then pop up "Incorrect SIM PIN code,you have 3 remaining
attempts" tips.

Remove dup toast.

CRs-Fixed: 741011

Change-Id: I56439aa5146f3e87efdcc800d8edfcef81ec5155
parent 6ae8f636
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -427,8 +427,6 @@ public class IccLockSettings extends PreferenceActivity
        } else {
            handleException(exception, MSG_ENABLE_ICC_PIN_COMPLETE,
                attemptsRemaining);
            Toast.makeText(this, getPinPasswordErrorMessage(attemptsRemaining),
                    Toast.LENGTH_LONG).show();
        }
        mPinToggle.setEnabled(true);
        resetDialogState();
@@ -438,8 +436,6 @@ public class IccLockSettings extends PreferenceActivity
        if (exception != null) {
            handleException(exception, MSG_CHANGE_ICC_PIN_COMPLETE,
                attemptsRemaining);
            Toast.makeText(this, getPinPasswordErrorMessage(attemptsRemaining),
                    Toast.LENGTH_LONG).show();
        } else {
            Toast.makeText(this, mRes.getString(R.string.sim_change_succeeded),
                    Toast.LENGTH_SHORT)