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: If75f4fef934ab26353803dcbeeed0569f1f2d9bf
This commit is contained in:
Selim Cinek
2016-06-02 16:41:03 +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;
}