mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +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() {
|
public void hideSoftKeyboard() {
|
||||||
|
if (emojiPopup.isShowing()) emojiPopup.dismiss();
|
||||||
IBinder token = editText.getWindowToken();
|
IBinder token = editText.getWindowToken();
|
||||||
Object o = getContext().getSystemService(INPUT_METHOD_SERVICE);
|
Object o = getContext().getSystemService(INPUT_METHOD_SERVICE);
|
||||||
((InputMethodManager) o).hideSoftInputFromWindow(token, 0);
|
((InputMethodManager) o).hideSoftInputFromWindow(token, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user