diff --git a/android/jni/com/mapswithme/maps/editor/Editor.cpp b/android/jni/com/mapswithme/maps/editor/Editor.cpp index 75f9092ddc..c5d15bf060 100644 --- a/android/jni/com/mapswithme/maps/editor/Editor.cpp +++ b/android/jni/com/mapswithme/maps/editor/Editor.cpp @@ -356,4 +356,10 @@ Java_com_mapswithme_maps_editor_Editor_nativeCreateNote(JNIEnv * env, jclass cla Editor::Instance().CreateNote(ms::LatLon(lat, lon), jni::ToNativeString(env, text)); } +// static boolean nativeIsHouseValid(String houseNumber); +JNIEXPORT jboolean JNICALL +Java_com_mapswithme_maps_editor_Editor_nativeIsHouseValid(JNIEnv * env, jclass clazz, jstring houseNumber) +{ + return osm::EditableMapObject::ValidateHouseNumber(jni::ToNativeString(env, houseNumber)); +} } // extern "C" diff --git a/android/res/layout/fragment_editor.xml b/android/res/layout/fragment_editor.xml index 475dd167d3..ec6a1411e0 100644 --- a/android/res/layout/fragment_editor.xml +++ b/android/res/layout/fragment_editor.xml @@ -124,6 +124,7 @@ style="@style/MwmWidget.Editor.MetadataBlock">