Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc3c59f7 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Remove unused variable from PhoneWindowManager

This variable is always false. Remove it.

Bug: 163073386
Test: compile only
Change-Id: Ia45ba9628e255ecbf5710cbf1f1a7dfb9373d346
parent 637d43d6
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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)) {