Add do not use button

This commit is contained in:
PavelRatushny 2017-07-31 11:59:59 +03:00
parent 07af872987
commit a787502b91

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();