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

* commit '8846a12c9480799e6a6ade983f7bbcbcb38cca81':
  Correct some logging in ADS
This commit is contained in:
Yu Ping Hu 2013-11-06 18:05:31 -08:00 committed by Android Git Automerger
commit 63c5adbc1e
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;