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

Commit d856b94a authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Revert "Keep keyboard layout while orientation change""

parents 5ab5807d 89bb88f6
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -152,8 +152,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
            boolean voiceButtonOnPrimary) {
            boolean voiceButtonOnPrimary) {
        mSwitchState = SWITCH_STATE_ALPHA;
        mSwitchState = SWITCH_STATE_ALPHA;
        try {
        try {
            final boolean isSymbols = (mCurrentId != null) ? mCurrentId.isSymbolsKeyboard() : false;
            loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, false);
            loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, isSymbols);
        } catch (RuntimeException e) {
        } catch (RuntimeException e) {
            // Get KeyboardId to record which keyboard has been failed to load.
            // Get KeyboardId to record which keyboard has been failed to load.
            final KeyboardId id = getKeyboardId(attribute, false);
            final KeyboardId id = getKeyboardId(attribute, false);