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

am: 8e2a2fa98c

* commit '8e2a2fa98c9ca077681acf13abfb6252c3859e0f':
  Fixed that volume buttons were not working on the pin input

Change-Id: I6deb8c3a706c69bebeb29f46aab10c32f8f705af
This commit is contained in:
Selim Cinek
2016-06-02 15:47:45 +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;
}