Skip to content

Commit 79afd20

Browse files
Sean ClarkChristopher J. Brody
authored andcommitted
apacheGH-28 Progress dialogs should be cancellable outside the window
1 parent 0057715 commit 79afd20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/android/Notification.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ public void run() {
447447
notification.progressDialog.setCancelable(true);
448448
notification.progressDialog.setMax(100);
449449
notification.progressDialog.setProgress(0);
450+
notification.progressDialog.setCanceledOnTouchOutside(false);
450451
notification.progressDialog.setOnCancelListener(
451452
new DialogInterface.OnCancelListener() {
452453
public void onCancel(DialogInterface dialog) {

0 commit comments

Comments
 (0)