Add do not use button

(cherry picked from commit a787502)
This commit is contained in:
PavelRatushny 2017-07-31 11:59:59 +03:00
parent dbf5a2cf00
commit c43537b131

View file

@ -436,6 +436,12 @@ public class OsmandApplication extends MultiDexApplication {
}
}
});
builder.setNeutralButton(R.string.shared_string_do_not_use, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
osmandSettings.VOICE_PROVIDER.set(OsmandSettings.VOICE_PROVIDER_NOT_USE);
}
});
builder.setView(view);
builder.show();