+ /*
+ SynchronizeFolderOperation checkedOp = mCurrentSyncOperation;
+ String checkedKey = syncKey;
+ while (checkedOp.getPendingChildrenCount() <= 0) {
+ // while (!checkedOp.hasChildren()) {
+ mPendingOperations.remove(checkedKey);
+ String parentKey = buildRemoteName(account, (new File(checkedOp.getFolderPath())).getParent());
+ // String parentKey = buildRemoteName(account, checkedOp.getParentPath());
+ SynchronizeFolderOperation parentOp = mPendingOperations.get(parentKey);
+ if (parentOp != null) {
+ parentOp.decreasePendingChildrenCount();
+ }
+ }
+ */