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

Commit 93ce8955 authored by Garvita Jain's avatar Garvita Jain
Browse files

Update documentation for non-visible downloads.

All downloads which have set non-visible destination URIs are cleaned up if they are not touched in the last 7 days.

Change-Id: If973b814b8a22f3a01eb571fa3a00e249f74f2a9
BUG: 259023742
Flag: EXEMPT docs only
parent 7bd42135
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -493,6 +493,9 @@ public class DownloadManager {
         * {@link Environment#getExternalStoragePublicDirectory(String)} with
         * {@link Environment#DIRECTORY_DOWNLOADS}).
         *
         * All non-visible downloads that are not modified in the last 7 days will be deleted during
         * idle runs.
         *
         * @param uri a file {@link Uri} indicating the destination for the downloaded file.
         * @return this object
         */
@@ -796,7 +799,9 @@ public class DownloadManager {
         * public Downloads directory (as returned by
         * {@link Environment#getExternalStoragePublicDirectory(String)} with
         * {@link Environment#DIRECTORY_DOWNLOADS}) will be visible in system's Downloads UI
         * and the rest will not be visible.
         * and the rest will not be visible. All non-visible downloads that are not modified
         * in the last 7 days will be deleted during idle runs.
         *
         * (e.g. {@link Context#getExternalFilesDir(String)}) will not be visible.
         */
        @Deprecated