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

Commit e8cf3eab authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Prevent Sym key from showing the IME picker" into ics

parents f67f150c e1210c32
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -1482,6 +1482,7 @@ public final class InputMethodManager {
                return;
            }
    
            if (context.getResources().getBoolean(com.android.internal.R.bool.config_symKeyShowsImePicker)) {
                if (key.getAction() == KeyEvent.ACTION_DOWN
                        && key.getKeyCode() == KeyEvent.KEYCODE_SYM) {
                    showInputMethodPicker();
@@ -1491,6 +1492,7 @@ public final class InputMethodManager {
                    }
                    return;
                }
            }
            try {
                if (DEBUG) Log.v(TAG, "DISPATCH KEY: " + mCurMethod);
                mCurMethod.dispatchKeyEvent(seq, key, callback);
+2 −0
Original line number Diff line number Diff line
@@ -790,4 +790,6 @@
    <!-- Asus dock compatibility disabled by default -->
    <bool name="config_hasDockBattery">false</bool>

    <!-- True if the Sym key should open the InputMethodPicker (default) -->
    <bool name="config_symKeyShowsImePicker">true</bool>
</resources>