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:
Selim Cinek
2016-06-01 12:35:56 -07:00
parent ed6913b0ce
commit 470bf5eccb

View File

@@ -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;
}