|
@@ -156,9 +156,6 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
|
|
}
|
|
}
|
|
if (mOperationsServiceBinder != null) {
|
|
if (mOperationsServiceBinder != null) {
|
|
mOperationsServiceBinder.addOperationListener(FileActivity.this, mHandler);
|
|
mOperationsServiceBinder.addOperationListener(FileActivity.this, mHandler);
|
|
- if (!mOperationsServiceBinder.isPerformingBlockingOperation()) {
|
|
|
|
- dismissLoadingDialog();
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -168,7 +165,6 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
|
|
super.onStop();
|
|
super.onStop();
|
|
if (mOperationsServiceBinder != null) {
|
|
if (mOperationsServiceBinder != null) {
|
|
mOperationsServiceBinder.removeOperationListener(this);
|
|
mOperationsServiceBinder.removeOperationListener(this);
|
|
- mOperationsServiceBinder = null;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -178,6 +174,7 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
|
|
super.onDestroy();
|
|
super.onDestroy();
|
|
if (mOperationsServiceConnection != null) {
|
|
if (mOperationsServiceConnection != null) {
|
|
unbindService(mOperationsServiceConnection);
|
|
unbindService(mOperationsServiceConnection);
|
|
|
|
+ mOperationsServiceBinder = null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|