diff options
author | Steve Howard <showard@google.com> | 2010-07-12 17:24:17 -0700 |
---|---|---|
committer | Steve Howard <showard@google.com> | 2010-07-14 11:33:17 -0700 |
commit | 6d9b98282c817b86a00f9c19a705da4cb19bc3a6 (patch) | |
tree | d262513c211424ffcefa26440f3ee0d63e3b0849 /src/com/android/providers/downloads/DownloadInfo.java | |
parent | f413bd5422d918872e576c1c0c3e0b9227f15304 (diff) | |
download | android_packages_providers_DownloadProvider-6d9b98282c817b86a00f9c19a705da4cb19bc3a6.tar.gz android_packages_providers_DownloadProvider-6d9b98282c817b86a00f9c19a705da4cb19bc3a6.tar.bz2 android_packages_providers_DownloadProvider-6d9b98282c817b86a00f9c19a705da4cb19bc3a6.zip |
Support for file URI destinations + last modified timestamp
File URI destinations:
* permission checking in DownloadProvider
* implementation in Helpers.generateSaveFile(). it's a fairly small
amount of logic added here, but I did some significant method
extraction to simplify this change and clean up the code in general.
* added test case
Last modified timestamp:
* made DownloadProvider use a SystemFacade for getting system time, so I could properly test timestamps
* updated test cases to cover last modified time + handle new ordering
Diffstat (limited to 'src/com/android/providers/downloads/DownloadInfo.java')
0 files changed, 0 insertions, 0 deletions