This prevents accidental touches outside of the dialog during long operations
Change-Id: I5d903a56aa8e72963967629bd4d844d19e3922dc
titleResourceId,
layout);
this.mDialog.setCancelable(cancellable);
titleResourceId,
layout);
this.mDialog.setCancelable(cancellable);
+ this.mDialog.setCanceledOnTouchOutside(false);
if (cancellable) {
this.mDialog.setButton(
DialogInterface.BUTTON_NEUTRAL, context.getString(android.R.string.cancel), this);
if (cancellable) {
this.mDialog.setButton(
DialogInterface.BUTTON_NEUTRAL, context.getString(android.R.string.cancel), this);