Fixed that volume buttons were not working on the pin input
Because we were intercepting all buttons. Change-Id: Id2155f23d55cb5282c87409b9c6b8441540ad894 Fixes: 28786740
This commit is contained in:
@@ -239,8 +239,7 @@ public abstract class KeyguardPinBasedInputView extends KeyguardAbsKeyInputView
|
||||
@Override
|
||||
public boolean onKey(View v, int keyCode, KeyEvent event) {
|
||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||
onKeyDown(keyCode, event);
|
||||
return true;
|
||||
return onKeyDown(keyCode, event);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user