mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Prevent stuck progress dialog
This commit is contained in:
parent
8394350082
commit
858ca289f6
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
|
|||
}
|
||||
if (mOperationsServiceBinder != null) {
|
||||
mOperationsServiceBinder.addOperationListener(FileActivity.this, mHandler);
|
||||
if (!mOperationsServiceBinder.isPerformingBlockingOperation()) {
|
||||
dismissLoadingDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue