Skip to content

Commit

Permalink
Sim Pin unlock: fix github sync error adding the correct file code
Browse files Browse the repository at this point in the history
Change-Id: I1f1ab351596b4716cdedc23f65129622d57f20b1
  • Loading branch information
ezio84 committed Dec 21, 2014
1 parent 675de59 commit 5b79f8e
Showing 1 changed file with 9 additions and 14 deletions.
Expand Up @@ -142,21 +142,16 @@ public void onClick(View v) {

mOkButton = findViewById(R.id.key_enter);
if (mOkButton != null) {
if (mQuickUnlock) {
mOkButton.setVisibility(View.INVISIBLE);
} else {
mOkButton.setVisibility(View.VISIBLE);
mOkButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
doHapticKeyClick();
if (mPasswordEntry.isEnabled()) {
verifyPasswordAndUnlock();
}
mOkButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
doHapticKeyClick();
if (mPasswordEntry.isEnabled()) {
verifyPasswordAndUnlock();
}
});
mOkButton.setOnHoverListener(new LiftToActivateListener(getContext()));
}
}
});
mOkButton.setOnHoverListener(new LiftToActivateListener(getContext()));
}

mDeleteButton = findViewById(R.id.delete_button);
Expand Down

0 comments on commit 5b79f8e

Please sign in to comment.