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

Commit a267254c 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 gingerbread

parents 52fbb5bb 5cb0ca99
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -1330,6 +1330,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();
@@ -1339,6 +1340,7 @@ public final class InputMethodManager {
                    }
                    return;
                }
            }
            try {
                if (DEBUG) Log.v(TAG, "DISPATCH KEY: " + mCurMethod);
                mCurMethod.dispatchKeyEvent(seq, key, callback);
+3 −0
Original line number Diff line number Diff line
@@ -639,4 +639,7 @@

    <!-- Location of the Authentec framework jar -->
    <string name="config_authentecJarLocation"></string>

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