Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f73fe1c authored by Vasu Nori's avatar Vasu Nori Committed by Android (Google) Code Review
Browse files

Merge "bug:3513950 Rename "completedDownload" to "addCompletedDownload"" into honeycomb-mr1

parents 19960989 37281303
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28850,7 +28850,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<method name="completedDownload"
<method name="addCompletedDownload"
 return="long"
 abstract="false"
 native="false"
+3 −3
Original line number Diff line number Diff line
@@ -376,8 +376,8 @@ public class DownloadManager {
        /**
         * This download shows in the notifications after completion ONLY.
         * It is usuable only with
         * {@link DownloadManager#completedDownload(String, String, boolean, String,
         * String, long, boolean)}.
         * {@link DownloadManager#addCompletedDownload(String, String,
         * boolean, String, String, long, boolean)}.
         */
        public static final int VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION = 3;

@@ -1111,7 +1111,7 @@ public class DownloadManager {
     * @return  an ID for the download entry added to the downloads app, unique across the system
     * This ID is used to make future calls related to this download.
     */
    public long completedDownload(String title, String description,
    public long addCompletedDownload(String title, String description,
            boolean isMediaScannerScannable, String mimeType, String path, long length,
            boolean showNotification) {
        // make sure the input args are non-null/non-zero