when shift key is pressed delegate to super implementation so shift key is handled correctly, for certain hardware keyboards this is required so the editor is not stuck in shift mode

This commit is contained in:
Adrian Malacoda 2016-09-25 02:09:17 -05:00
parent 9408fba5dd
commit 46ad99aa46

View File

@ -1754,6 +1754,9 @@ public abstract class MainActivity extends ActionBarActivity implements IHomeAct
switch (keyCode) {
case KeyEvent.KEYCODE_TAB:
return true;
case KeyEvent.KEYCODE_SHIFT_LEFT:
case KeyEvent.KEYCODE_SHIFT_RIGHT:
return super.onKeyUp(keyCode, event);
default:
return false;
}