OSDN Git Service

KeyguardSimPinView: don't send dummy request to get remaining pin
authorPawit Pornkitprasan <p.pawit@gmail.com>
Fri, 28 Nov 2014 13:24:02 +0000 (20:24 +0700)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Mon, 26 Sep 2016 05:49:31 +0000 (22:49 -0700)
commit895b9b5704a9add5a4d9129166eada65504e5a66
tree25e09e440f6722f23544d717a0e8b1e56eb9f0e7
parent763e66909c54f28bf8ae51ab2486998fe13fd033
KeyguardSimPinView: don't send dummy request to get remaining pin

I'm not sure of the behavior on QCOM RILs, but on Broadcom RILs
(and probably other RILs), this will eat into the user's PIN
remaining tries. Given that the user is only given ~3 tries, this
is a very bad idea.

In addition, if onAttachedToWindow is called multiple times before
the RIL replies, this can completely delete the retry quota leading
straight to the PUK screen.

Change-Id: I339f1b6d79d543ae8930a7bb95acf823fd5ae20e
packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java