+ if (file.isFolder()) {
+ // this goes to the queue!! :S
+ Intent intent = new Intent(mFileActivity, OperationsService.class);
+ intent.setAction(OperationsService.ACTION_CANCEL_SYNC_FOLDER);
+ intent.putExtra(OperationsService.EXTRA_ACCOUNT, account);
+ intent.putExtra(OperationsService.EXTRA_FILE, file);
+ mFileActivity.startService(intent);
+ }
+
+ // for both files and folders