Remove crash setting

This commit is contained in:
Victor Shcherb 2015-11-20 13:27:56 +03:00
parent 53219e506e
commit 493e7d8111
3 changed files with 4 additions and 1 deletions

View file

@ -81,7 +81,6 @@ public class RouteDataObject {
return names.get(k); return names.get(k);
} }
} }
} }
return names.get(region.nameTypeRule); return names.get(region.nameTypeRule);
} }

View file

@ -40,9 +40,11 @@
android:title="@string/wake_on_voice" android:title="@string/wake_on_voice"
android:summary="@string/wake_on_voice_descr" /> android:summary="@string/wake_on_voice_descr" />
<!--
<ListPreference <ListPreference
android:key="delay_to_start_navigation" android:key="delay_to_start_navigation"
android:title="@string/delay_to_start_navigation" android:title="@string/delay_to_start_navigation"
android:summary="@string/delay_to_start_navigation_descr" /> android:summary="@string/delay_to_start_navigation_descr" />
-->
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View file

@ -323,6 +323,8 @@ public class EditPoiDialogFragment extends DialogFragment {
} }
} else if(editPoiData.getPoiCategory() == getMyApplication().getPoiTypes().getOtherPoiCategory()) { } else if(editPoiData.getPoiCategory() == getMyApplication().getPoiTypes().getOtherPoiCategory()) {
poiTypeEditText.setError(getResources().getString(R.string.please_specify_poi_type)); poiTypeEditText.setError(getResources().getString(R.string.please_specify_poi_type));
} else if(editPoiData.getPoiTypeDefined() == null) {
poiTypeEditText.setError(getResources().getString(R.string.please_specify_poi_type_only_from_list));
} else { } else {
save(); save();
} }