From 79afd200d5b7fa1573c88722337805813f834bb9 Mon Sep 17 00:00:00 2001 From: Sean Clark Date: Fri, 22 Aug 2014 10:46:57 -0400 Subject: [PATCH] GH-28 Progress dialogs should be cancellable outside the window --- src/android/Notification.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/android/Notification.java b/src/android/Notification.java index f19bc888..2a31ed8e 100644 --- a/src/android/Notification.java +++ b/src/android/Notification.java @@ -447,6 +447,7 @@ public void run() { notification.progressDialog.setCancelable(true); notification.progressDialog.setMax(100); notification.progressDialog.setProgress(0); + notification.progressDialog.setCanceledOnTouchOutside(false); notification.progressDialog.setOnCancelListener( new DialogInterface.OnCancelListener() { public void onCancel(DialogInterface dialog) {