From b43bac38c3242499a8623d906173f2d8590a7543 Mon Sep 17 00:00:00 2001 From: Chumva Date: Tue, 19 Jun 2018 16:51:51 +0300 Subject: [PATCH] fix keyboards after changing keyboard option --- .../osmand/plus/mapmarkers/CoordinateInputDialogFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java index e3ae32f974..924c23286e 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java @@ -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); }