fix keyboards after changing keyboard option

This commit is contained in:
Chumva 2018-06-19 16:51:51 +03:00
parent b0db8cd235
commit b43bac38c3

View file

@ -878,11 +878,13 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
if (focusedView != null) {
if (useOsmandKeyboard) {
AndroidUtils.hideSoftKeyboard(getActivity(), focusedView);
isSoftKeyboardShown = false;
} else {
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
AndroidUtils.showSoftKeyboard(focusedView);
isSoftKeyboardShown = true;
}
}, 200);
}