Fix thread
This commit is contained in:
parent
8c88a19d4b
commit
2f1668c585
2 changed files with 4 additions and 4 deletions
|
@ -8,9 +8,9 @@
|
|||
<CheckBoxPreference android:summary="@string/use_english_names_descr" android:title="@string/use_english_names"
|
||||
android:key="use_english_names"></CheckBoxPreference>
|
||||
<ListPreference android:key="default_driving_region" android:title="@string/driving_region" android:summary="@string/driving_region_descr"></ListPreference>
|
||||
<!--
|
||||
<ListPreference android:key="default_metric_system" android:title="@string/unit_of_length" android:summary="@string/unit_of_length_descr"></ListPreference>
|
||||
-->
|
||||
|
||||
<ListPreference android:key="default_metric_system" android:title="@string/unit_of_length" android:summary="@string/unit_of_length_descr"></ListPreference>
|
||||
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/voice_pref_title" android:key="voice">
|
||||
<ListPreference android:title="@string/voice_provider" android:key="voice_provider" android:summary="@string/voice_provider_descr"></ListPreference>
|
||||
|
|
|
@ -252,7 +252,7 @@ public class OsMoThread {
|
|||
}
|
||||
}
|
||||
boolean error = false;
|
||||
if(obj != null && !obj.has("error")) {
|
||||
if(obj != null && obj.has("error")) {
|
||||
error = true;
|
||||
try {
|
||||
service.showErrorMessage(obj.getString("description"));
|
||||
|
|
Loading…
Reference in a new issue