From d43438ee5bce0920d3f032b7a71925b0cb1569f8 Mon Sep 17 00:00:00 2001 From: Vasu Nori Date: Mon, 7 Mar 2011 11:33:50 -0800 Subject: [PATCH] bug:3513950 a trivial change due to renaming of api in downloadmanager Change-Id: I5f8cd86fc97afa32e4a07ee2b6ab77d3270856be --- src/com/android/email/activity/MessageViewFragmentBase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/email/activity/MessageViewFragmentBase.java b/src/com/android/email/activity/MessageViewFragmentBase.java index 54ea10be3..dab13f64e 100644 --- a/src/com/android/email/activity/MessageViewFragmentBase.java +++ b/src/com/android/email/activity/MessageViewFragmentBase.java @@ -783,7 +783,8 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O DownloadManager dm = (DownloadManager) getActivity().getSystemService(Context.DOWNLOAD_SERVICE); - dm.completedDownload(info.mName, info.mName, false /* do not use media scanner */, + dm.addCompletedDownload(info.mName, info.mName, + false /* do not use media scanner */, info.mContentType, file.getAbsolutePath(), info.mSize, true /* show notification */); } catch (IOException ioe) {