SDL: fixed Java crash
This commit is contained in:
@@ -102,7 +102,7 @@ public class MainActivity extends org.libsdl.app.SDLActivity {
|
|||||||
{
|
{
|
||||||
Log.i("SDL", "Data download failed!");
|
Log.i("SDL", "Data download failed!");
|
||||||
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(this);
|
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(this);
|
||||||
dlgAlert.setMessage(this.getResources().getString(R.string.error_dl_from, Globals.DataDownloadUrl));
|
dlgAlert.setMessage(this.getResources().getString(R.string.error_dl_from, String.join(" ", Globals.DataDownloadUrl)));
|
||||||
dlgAlert.setTitle("SDL Error");
|
dlgAlert.setTitle("SDL Error");
|
||||||
dlgAlert.setPositiveButton("Exit",
|
dlgAlert.setPositiveButton("Exit",
|
||||||
new DialogInterface.OnClickListener() {
|
new DialogInterface.OnClickListener() {
|
||||||
|
|||||||
Reference in New Issue
Block a user