Repair brain damage

Change-Id: I1f2367476f78c5cd78d8a59e099debabceb95e3a
This commit is contained in:
Marc Blank 2012-03-08 19:48:11 -08:00
parent c3643cf2b5
commit 97e4651c45

View File

@ -677,7 +677,7 @@ public class AttachmentDownloadService extends Service implements Runnable {
if (attachment != null && statusCode == EmailServiceStatus.IN_PROGRESS) {
ContentValues values = new ContentValues();
values.put(AttachmentColumns.DOWNLOADED_SIZE,
attachment.mSize * 100 / progress);
attachment.mSize * progress / 100);
// Update UIProvider with updated download size
// Individual services will set contentUri and state when finished
attachment.update(mContext, values);