|
@@ -150,22 +150,26 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
|
|
|
|
|
|
@Override
|
|
@Override
|
|
protected void onStart() {
|
|
protected void onStart() {
|
|
- super.onStart();
|
|
|
|
|
|
+
|
|
if (mAccountWasSet) {
|
|
if (mAccountWasSet) {
|
|
onAccountSet(mAccountWasRestored);
|
|
onAccountSet(mAccountWasRestored);
|
|
}
|
|
}
|
|
if (mOperationsServiceBinder != null) {
|
|
if (mOperationsServiceBinder != null) {
|
|
mOperationsServiceBinder.addOperationListener(FileActivity.this, mHandler);
|
|
mOperationsServiceBinder.addOperationListener(FileActivity.this, mHandler);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ super.onStart();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
protected void onStop() {
|
|
protected void onStop() {
|
|
- super.onStop();
|
|
|
|
|
|
+
|
|
if (mOperationsServiceBinder != null) {
|
|
if (mOperationsServiceBinder != null) {
|
|
mOperationsServiceBinder.removeOperationListener(this);
|
|
mOperationsServiceBinder.removeOperationListener(this);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ super.onStop();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|