deleted unnecessary method
This commit is contained in:
parent
533d3bda64
commit
ad93fde386
1 changed files with 0 additions and 20 deletions
|
@ -807,26 +807,6 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
|
||||||
changeEditTextSelections();
|
changeEditTextSelections();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void changeSoftKeyboardVisibility() {
|
|
||||||
changeOsmandKeyboardSetting();
|
|
||||||
boolean useOsmandKeyboard = isOsmandKeyboardOn();
|
|
||||||
changeOsmandKeyboardVisibility(useOsmandKeyboard);
|
|
||||||
final View focusedView = getDialog().getCurrentFocus();
|
|
||||||
if (focusedView != null) {
|
|
||||||
if (useOsmandKeyboard) {
|
|
||||||
AndroidUtils.hideSoftKeyboard(getActivity(), focusedView);
|
|
||||||
} else {
|
|
||||||
new Handler().postDelayed(new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
AndroidUtils.showSoftKeyboard(focusedView);
|
|
||||||
}
|
|
||||||
}, 200);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
changeEditTextSelections();
|
|
||||||
}
|
|
||||||
|
|
||||||
private CoordinateInputFormatChangeListener createCoordinateInputFormatChangeListener() {
|
private CoordinateInputFormatChangeListener createCoordinateInputFormatChangeListener() {
|
||||||
return new CoordinateInputFormatChangeListener() {
|
return new CoordinateInputFormatChangeListener() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue