mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Hide emoji popup when hiding soft keyboard.
This commit is contained in:
@@ -163,6 +163,7 @@ public class TextInputView extends KeyboardAwareLinearLayout {
|
||||
}
|
||||
|
||||
public void hideSoftKeyboard() {
|
||||
if (emojiPopup.isShowing()) emojiPopup.dismiss();
|
||||
IBinder token = editText.getWindowToken();
|
||||
Object o = getContext().getSystemService(INPUT_METHOD_SERVICE);
|
||||
((InputMethodManager) o).hideSoftInputFromWindow(token, 0);
|
||||
|
||||
Reference in New Issue
Block a user