diff options
author | John Spurlock <jspurlock@google.com> | 2013-11-04 16:25:38 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2013-11-04 16:25:38 -0500 |
commit | 92a262c7f4cc29c5cb59e200b778dcb835881179 (patch) | |
tree | a26165bff2d6d6e64d9b8aec4b8236941e079e69 /core/java/android/app | |
parent | 5ff96b946b10825c504c3ee3f00be04f81d3a44f (diff) | |
download | frameworks_base-92a262c7f4cc29c5cb59e200b778dcb835881179.zip frameworks_base-92a262c7f4cc29c5cb59e200b778dcb835881179.tar.gz frameworks_base-92a262c7f4cc29c5cb59e200b778dcb835881179.tar.bz2 |
Docfixes for DownloadManager.
Change-Id: If01420ed3964fda89c459d3f9021b5088520b6b1
Diffstat (limited to 'core/java/android/app')
-rw-r--r-- | core/java/android/app/DownloadManager.java | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/core/java/android/app/DownloadManager.java b/core/java/android/app/DownloadManager.java index b741cc5..2ed8b0f 100644 --- a/core/java/android/app/DownloadManager.java +++ b/core/java/android/app/DownloadManager.java @@ -1011,15 +1011,15 @@ public class DownloadManager { } /** - * Returns {@link Uri} for the given downloaded file id, if the file is - * downloaded successfully. otherwise, null is returned. + * Returns the {@link Uri} of the given downloaded file id, if the file is + * downloaded successfully. Otherwise, null is returned. *<p> * If the specified downloaded file is in external storage (for example, /sdcard dir), * then it is assumed to be safe for anyone to read and the returned {@link Uri} corresponds * to the filepath on sdcard. * * @param id the id of the downloaded file. - * @return the {@link Uri} for the given downloaded file id, if download was successful. null + * @return the {@link Uri} of the given downloaded file id, if download was successful. null * otherwise. */ public Uri getUriForDownloadedFile(long id) { @@ -1064,15 +1064,11 @@ public class DownloadManager { } /** - * Returns {@link Uri} for the given downloaded file id, if the file is - * downloaded successfully. otherwise, null is returned. - *<p> - * If the specified downloaded file is in external storage (for example, /sdcard dir), - * then it is assumed to be safe for anyone to read and the returned {@link Uri} corresponds - * to the filepath on sdcard. + * Returns the media type of the given downloaded file id, if the file was + * downloaded successfully. Otherwise, null is returned. * * @param id the id of the downloaded file. - * @return the {@link Uri} for the given downloaded file id, if download was successful. null + * @return the media type of the given downloaded file id, if download was successful. null * otherwise. */ public String getMimeTypeForDownloadedFile(long id) { |