Description[Downloads] Expose basic download history to UI
* Adds hooks in DownloadManagerService for calling GetAllDownloads()
and sending the information back to Java. This creates a
List of DownloadItems that contain the basic information needed
for the UI.
* Adds a basic RecyclerView to display the files in the user's
download history.
* Adds a DownloadHistoryAdapter that is used to track information
about the download history. This *should* be reusable among
multiple RecyclerViews in case the user opens up multi-window
mode.
- This currently doesn't monitor any changes to the history and is
used solely for getting a skeleton working.
BUG=616324
Committed: https://crrev.com/194e406dedb9ce73fdf698deb4ec6d082931299e
Cr-Commit-Position: refs/heads/master@{#405607}
Patch Set 1 #Patch Set 2 : Cleaning up the interface #
Total comments: 13
Patch Set 3 : Comments #
Total comments: 6
Patch Set 4 : Min's comments #Patch Set 5 : Renamed file #Patch Set 6 : Lint #Messages
Total messages: 22 (8 generated)
|