Add do not use button
This commit is contained in:
parent
07af872987
commit
a787502b91
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue