mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Keyboard quick switch polish
- Added support for escape(backtick on some keyboards) keyboard keys - Added support for d-pad left and right keyboard keys - Fixed janky behaviour when quick switching too quickly. - Removed unused code Bug: 269618928 Test: Tried quick switch very quickly, tried escape, d-pad left and right keys in RTL and LTR modes Change-Id: Ie03207cb349891e9c2de18502f3f65b7c8f9c018
This commit is contained in:
@@ -425,7 +425,7 @@ public class KeyboardQuickSwitchView extends ConstraintLayout {
|
||||
|
||||
@Override
|
||||
public boolean onKeyUp(int keyCode, KeyEvent event) {
|
||||
return (mViewCallbacks != null && mViewCallbacks.onKeyUp(keyCode, event))
|
||||
return (mViewCallbacks != null && mViewCallbacks.onKeyUp(keyCode, event, mIsRtl))
|
||||
|| super.onKeyUp(keyCode, event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user