am 3cc9602c: am 319eb1c3: am 77144a64: Merge "Retain Emoji Keyboard after rotation"
* commit '3cc9602c578ed43d34462dc0af4d9c0d6847a86f': Retain Emoji Keyboard after rotationmain
commit
3aa8c4cc1f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
|
|||
}
|
||||
|
||||
public void saveKeyboardState() {
|
||||
if (getKeyboard() != null) {
|
||||
if (getKeyboard() != null || isShowingEmojiKeyboard()) {
|
||||
mState.onSaveKeyboardState();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue