1 parent edcb376 commit 4e4b509Copy full SHA for 4e4b509
android/modules/ui/src/java/ti/modules/titanium/ui/widget/TiUIProgressIndicator.java
@@ -279,6 +279,10 @@ protected void handleHide()
279
@Override
280
publicvoidonCancel(DialogInterfacedialog)
281
{
282
+if (dialog != this.progressDialog) {
283
+return;
284
+ }
285
+
286
this.visible = false;
287
this.progressDialog = null;
288
fireEvent(TiC.EVENT_CANCEL, null);
@@ -287,6 +291,10 @@ public void onCancel(DialogInterface dialog)
291
292
publicvoidonDismiss(DialogInterfacedialog)
289
293
294
295
296
297
290
298
299
300
}
0 commit comments