Roll back previous change. It was not correct. The underlying problem was the dialog was being dismissed twice when using the TCMissingMotorDownloadAction.
This commit is contained in:
parent
621938dc56
commit
597d4bec6a
@ -136,8 +136,8 @@ public abstract class TCQueryAction extends Fragment {
|
||||
protected void dismiss() {
|
||||
AndroidLogWrapper.d(TCQueryAction.class,"dismiss the progress");
|
||||
ProgressDialogFragment progress = (ProgressDialogFragment) getActivity().getSupportFragmentManager().findFragmentByTag(PROGRESS_DIALOG_TAG);
|
||||
if ( progress != null && progress.isVisible()) {
|
||||
progress.dismiss();
|
||||
if ( progress != null ) {
|
||||
getActivity().getSupportFragmentManager().beginTransaction().remove(progress).commit();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user