Disable extra logs
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / activity / FileActivity.java
index c4dd28a..be437db 100644 (file)
@@ -150,6 +150,7 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
     
     @Override 
     protected void onStart() {
+        super.onStart();
 
         if (mAccountWasSet) {
             onAccountSet(mAccountWasRestored);
@@ -157,8 +158,6 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
         if (mOperationsServiceBinder != null) {
             mOperationsServiceBinder.addOperationListener(FileActivity.this, mHandler);
         }
-        
-        super.onStart();
     }
     
     
@@ -306,6 +305,11 @@ public class FileActivity extends SherlockFragmentActivity implements OnRemoteOp
     }
     
     
+    public OperationsServiceBinder getOperationsServiceBinder() {
+        return mOperationsServiceBinder;
+    }
+
+
     /**
      * Helper class handling a callback from the {@link AccountManager} after the creation of
      * a new ownCloud {@link Account} finished, successfully or not.