+
+ } catch (OperationCancelledException e) {
+ result = new RemoteOperationResult(e);
+
+ // Needed in case that cancellation occurs before starting any download.
+ // If not, yellow arrow continues being shown.
+ sendBroadcastForNotifyingUIUpdate(false);
+
+ Intent intent = new Intent(mContext, FileDownloader.class);
+ intent.setAction(FileDownloader.ACTION_CANCEL_FILE_DOWNLOAD);
+ intent.putExtra(FileDownloader.EXTRA_ACCOUNT, mAccount);
+ intent.putExtra(FileDownloader.EXTRA_FILE, mLocalFolder);
+ mContext.startService(intent);