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

Commit 8303137c authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Ignore the exception when parsing remaining attempts"

am: ec74a2c8

Change-Id: I298255b385f30ce44e49ed648e930d66c5b2a595
parents 28280a96 ec74a2c8
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;