Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): hide/show progress dialog back-to-back puts it in bad state as if 8.1.1 #11684

Merged
merged 3 commits into from
May 12, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ protected void handleHide()
@Override
public void onCancel(DialogInterface dialog)
{
if (dialog != this.progressDialog) {
return;
}

this.visible = false;
this.progressDialog = null;
fireEvent(TiC.EVENT_CANCEL, null);
Expand All @@ -287,6 +291,10 @@ public void onCancel(DialogInterface dialog)
@Override
public void onDismiss(DialogInterface dialog)
{
if (dialog != this.progressDialog) {
return;
}

this.visible = false;
this.progressDialog = null;
}
Expand Down