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:
parent
9408fba5dd
commit
46ad99aa46
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user