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

Skip to content
Commit 40861e5d authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Avoid wrongly reported SIM PIN mismatch.

(At least) Qualcomm RILs report SIM unlock success as result=0,
attemptsRemaining=0. As reportSimUnlocked() causes showDefaultMessage()
to be called (via reportSimUnlocked -> handleSimStateChange ->
onSimStateChanged -> resetState -> showDefaultMessage), which accesses
mRemainingAttempts to determine the message to show, set
mRemainingAttempts before calling reportSimUnlocked().

This resets that code sequence back to AOSP; it got broken in commit
18281968.

Change-Id: Icf7b15f1bf55bb32c8b58bd6c77109971cbc463b
parent d75ef880
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment