Merge "Correct some logging in ADS" into jb-ub-mail-ur10

This commit is contained in:
Yu Ping Hu 2013-11-07 00:38:58 +00:00 committed by Android (Google) Code Review
commit 8846a12c94
1 changed files with 2 additions and 2 deletions

View File

@ -713,9 +713,9 @@ public class AttachmentDownloadService extends Service implements Runnable {
default: code = Integer.toString(statusCode); break;
}
if (statusCode != EmailServiceStatus.IN_PROGRESS) {
LogUtils.d(TAG, ">> Attachment " + attachmentId + ": " + code);
LogUtils.d(TAG, ">> Attachment status " + attachmentId + ": " + code);
} else if (progress >= (req.lastProgress + 10)) {
LogUtils.d(TAG, ">> Attachment " + attachmentId + ": " + progress + "%");
LogUtils.d(TAG, ">> Attachment progress %d: %d%%", attachmentId, progress);
}
}
req.lastStatusCode = statusCode;