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

Commit 5ceae026 authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

Retain Emoji Keyboard after rotation

Bug: 10612450
Change-Id: Ie0ae953958d2b0a0a4da651584f1e28b0ba38ae3
parent 9d763910
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -75,9 +75,7 @@ public class EmojiLayoutParams {

    public void setActionBarProperties(LinearLayout ll) {
        final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams();
        lp.height = mEmojiActionBarHeight;
        lp.topMargin = 0;
        lp.bottomMargin = mBottomPadding;
        lp.height = mEmojiActionBarHeight - mBottomPadding;
        ll.setLayoutParams(lp);
    }

+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
    }

    public void saveKeyboardState() {
        if (getKeyboard() != null) {
        if (getKeyboard() != null || isShowingEmojiKeyboard()) {
            mState.onSaveKeyboardState();
        }
    }