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:
commit
63c5adbc1e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue