1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-03 18:26:20 +00:00

Fixed action bar blinking

This commit is contained in:
M66B 2018-08-06 12:05:43 +00:00
parent 04bfcb3566
commit 80ca58d2a2

View file

@ -29,9 +29,9 @@ public class FragmentEx extends Fragment {
super.onDetach(); super.onDetach();
InputMethodManager im = getContext().getSystemService(InputMethodManager.class); InputMethodManager im = getContext().getSystemService(InputMethodManager.class);
View focussed = getActivity().getCurrentFocus(); View focused = getActivity().getCurrentFocus();
if (focussed != null) if (focused != null)
im.hideSoftInputFromWindow(focussed.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); im.hideSoftInputFromWindow(focused.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
} }
private void updateSubtitle() { private void updateSubtitle() {