diff --git a/android/app/src/main/java/com/github/stenzek/duckstation/AndroidProgressCallback.java b/android/app/src/main/java/com/github/stenzek/duckstation/AndroidProgressCallback.java index a76f48f1d..a77b9b3b9 100644 --- a/android/app/src/main/java/com/github/stenzek/duckstation/AndroidProgressCallback.java +++ b/android/app/src/main/java/com/github/stenzek/duckstation/AndroidProgressCallback.java @@ -12,6 +12,8 @@ public class AndroidProgressCallback { public AndroidProgressCallback(Activity context) { mContext = context; mDialog = new ProgressDialog(context); + mDialog.setCancelable(false); + mDialog.setCanceledOnTouchOutside(false); mDialog.setMessage(context.getString(R.string.android_progress_callback_please_wait)); mDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL); mDialog.setIndeterminate(false);