Merge "Fixed that volume buttons were not working on the pin input" into nyc-dev am: 8e2a2fa98c

am: 5df763e177

* commit '5df763e1777e0a4e5fcc0bd399029cd03d8a2bc4':
  Fixed that volume buttons were not working on the pin input

Change-Id: I2a53d1203e1037ce957cf051c67d3cd1630ce199
This commit is contained in:
Selim Cinek
2016-06-02 16:50:30 +00:00
committed by android-build-merger

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