Further work on the new downloads UI.
authorSteve Howard <showard@google.com>
Thu, 9 Sep 2010 00:15:27 +0000 (17:15 -0700)
committerSteve Howard <showard@google.com>
Fri, 10 Sep 2010 23:27:51 +0000 (16:27 -0700)
commit71e7fda9135a0915af1fd419d07ebf85ad09beb4
tree965315a68abef66c21b154856923e35b9eab4b74
parentf8ccad3e970434111b3920dc639e05ca48ca66c2
Further work on the new downloads UI.

* add support for downloads not visible in the UI
* add support for restarting failed downloads and downloads for which
  the file is missing
* add "clear selection" button to selection menu
* fix DateSortedExpandableListAdapter to ensure the view refreshes
  properly anytime the underlying data changes
* make DownloadList handle when a selected download gets deleted by
  another app
* make DownloadList close a dialog for a pending download when the
  download starts
* show a dialog when the user tries to open a download but the
  file is missing
* display "<Unknown>" when no title is provided for a download
* add a test case for DownloadManager.orderBy() (should've gone in the
  previous commit)

Change-Id: Ibf3062e8228e7f2c1270be24d8d5527dfb064658
src/com/android/providers/downloads/DownloadProvider.java
src/com/android/providers/downloads/Helpers.java
tests/src/com/android/providers/downloads/PublicApiFunctionalTest.java
ui/res/layout/download_list.xml
ui/res/values/strings.xml
ui/src/com/android/providers/downloads/ui/DateSortedExpandableListAdapter.java
ui/src/com/android/providers/downloads/ui/DownloadAdapter.java
ui/src/com/android/providers/downloads/ui/DownloadList.java