am 63c5adbc: am 8846a12c: Merge "Correct some logging in ADS" into jb-ub-mail-ur10

* commit '63c5adbc1eb4c9d811bcdc17dede6c895115afcc':
  Correct some logging in ADS
This commit is contained in:
Yu Ping Hu 2013-11-06 18:08:04 -08:00 committed by Android Git Automerger
commit 326c29ce0f

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;