Merge "Remove unused variable from PhoneWindowManager"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3b90c00ca0
@@ -450,7 +450,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
volatile int mPendingWakeKey = PENDING_KEY_NULL;
|
||||
|
||||
int mRecentAppsHeldModifiers;
|
||||
boolean mLanguageSwitchKeyPressed;
|
||||
|
||||
int mCameraLensCoverState = CAMERA_LENS_COVER_ABSENT;
|
||||
boolean mHaveBuiltInKeyboard;
|
||||
@@ -2938,12 +2937,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
mWindowManagerFuncs.switchKeyboardLayout(event.getDeviceId(), direction);
|
||||
return -1;
|
||||
}
|
||||
if (mLanguageSwitchKeyPressed && !down
|
||||
&& (keyCode == KeyEvent.KEYCODE_LANGUAGE_SWITCH
|
||||
|| keyCode == KeyEvent.KEYCODE_SPACE)) {
|
||||
mLanguageSwitchKeyPressed = false;
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (isValidGlobalKey(keyCode)
|
||||
&& mGlobalKeyManager.handleGlobalKey(mContext, keyCode, event)) {
|
||||
|
||||
Reference in New Issue
Block a user