Prevent stuck progress dialog

This commit is contained in:
David A. Velasco 2014-02-12 12:42:07 +01:00
parent 8394350082
commit 858ca289f6

View file

@ -156,6 +156,9 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
}
if (mOperationsServiceBinder != null) {
mOperationsServiceBinder.addOperationListener(FileActivity.this, mHandler);
if (!mOperationsServiceBinder.isPerformingBlockingOperation()) {
dismissLoadingDialog();
}
}
}