}
}
+ /**
+ * Review uploads and cancel it if its account doesn't exist
+ */
+ public void reviewUploads() {
+ if (mCurrentUpload != null &&
+ !AccountUtils.exists(mCurrentUpload.getAccount(), getApplicationContext())) {
+ mCurrentUpload.cancel();
+ }
+ // The rest of uploads are cancelled when they try to start
+ }
}
/**