add extra prams to intent to start Download App in sort-by-size mode

Change-Id: Icedf50477681bc79582517500748b9a916121903
This commit is contained in:
Vasu Nori
2011-01-24 16:12:20 -08:00
parent a19ca02ce2
commit e5f92249f1
2 changed files with 18 additions and 0 deletions

View File

@@ -265,6 +265,13 @@ public class DownloadManager {
*/
public final static String ACTION_VIEW_DOWNLOADS = "android.intent.action.VIEW_DOWNLOADS";
/**
* Intent extra included with {@link #ACTION_VIEW_DOWNLOADS} to start DownloadApp in
* sort-by-size mode.
*/
public final static String INTENT_EXTRAS_SORT_BY_SIZE =
"android.app.DownloadManager.extra_sortBySize";
/**
* Intent extra included with {@link #ACTION_DOWNLOAD_COMPLETE} intents, indicating the ID (as a
* long) of the download that just completed.