am 9ab40a58: Merge "bug:3513950 a trivial change due to renaming of api in downloadmanager" into honeycomb-mr1

* commit '9ab40a58b64b8f2cc78241b0ca0b9064d172729e':
  bug:3513950 a trivial change due to renaming of api in downloadmanager
This commit is contained in:
Vasu Nori 2011-03-07 12:55:46 -08:00 committed by Android Git Automerger
commit 58d570ca8a

View File

@ -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) {