Update DownloadManager.addCompletedDownload javadoc.
Starting from Q, downloads added using DownloadManager.addCompletedDownload are by default going to be added to MediaProvider regardless of isMediaScannerScannable argument specified by clients. Update the javadoc to reflect this. Bug: 120876251 Test: n/a Change-Id: Ie091703d801bb9cecc9574a122e13a242f4cca95
This commit is contained in:
@@ -1324,7 +1324,8 @@ public class DownloadManager {
|
||||
* @param description the description that would appear for this file in Downloads App.
|
||||
* @param isMediaScannerScannable true if the file is to be scanned by MediaScanner. Files
|
||||
* scanned by MediaScanner appear in the applications used to view media (for example,
|
||||
* Gallery app).
|
||||
* Gallery app). Starting from {@link android.os.Build.VERSION_CODES#Q}, this argument is
|
||||
* ignored and the file is always scanned by MediaScanner.
|
||||
* @param mimeType mimetype of the file.
|
||||
* @param path absolute pathname to the file. The file should be world-readable, so that it can
|
||||
* be managed by the Downloads App and any other app that is used to read it (for example,
|
||||
@@ -1353,7 +1354,8 @@ public class DownloadManager {
|
||||
* @param description the description that would appear for this file in Downloads App.
|
||||
* @param isMediaScannerScannable true if the file is to be scanned by MediaScanner. Files
|
||||
* scanned by MediaScanner appear in the applications used to view media (for example,
|
||||
* Gallery app).
|
||||
* Gallery app). Starting from {@link android.os.Build.VERSION_CODES#Q}, this argument is
|
||||
* ignored and the file is always scanned by MediaScanner.
|
||||
* @param mimeType mimetype of the file.
|
||||
* @param path absolute pathname to the file. The file should be world-readable, so that it can
|
||||
* be managed by the Downloads App and any other app that is used to read it (for example,
|
||||
|
||||
Reference in New Issue
Block a user