if (isDeviceCommander()) {
// If there are added files, install packages normally.
if (!addList.isEmpty()) {
+ logger.error("RDS is canceled because there is an added file");
return false;
}
// If copied files are more than 20, install packages normally. It might be better.
if (copyList.size() > 20) {
+ logger.error("RDS is canceled because changed files are more than 20");
return false;
}
}
if (!processAddedFiles(addList, smackInfo)) {
return false;
}
+ // FIXME: remove list should be empty.
if (!processRemovedFiles(removeList)) {
return false;
}