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

Commit ec74a2c8 authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Ignore the exception when parsing remaining attempts"

parents 1ef77a50 3c3872c2
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -382,11 +382,8 @@ public class UiccCardApplication {
                case EVENT_CHANGE_PIN2_DONE:
                    // a PIN/PUK/PIN2/PUK2 complete
                    // request has completed. ar.userObj is the response Message
                    int attemptsRemaining = -1;
                    ar = (AsyncResult)msg.obj;
                    if ((ar.exception != null) && (ar.result != null)) {
                        attemptsRemaining = parsePinPukErrorResult(ar);
                    }
                    int attemptsRemaining = parsePinPukErrorResult(ar);
                    Message response = (Message)ar.userObj;
                    AsyncResult.forMessage(response).exception = ar.exception;
                    response.arg1 = attemptsRemaining;