Repair brain damage
Change-Id: I1f2367476f78c5cd78d8a59e099debabceb95e3a
This commit is contained in:
parent
c3643cf2b5
commit
97e4651c45
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user