| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Ifcc565b9b2106e412cb883afd3446e4740c29306
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
in old downloads" into gingerbread
Merge commit '04d7025262d7f6c5c372ec699d78b18d05b0400b'
* commit '04d7025262d7f6c5c372ec699d78b18d05b0400b':
DB migration to eliminate some null fields in old downloads
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
downloads" into gingerbread
Merge commit '36f06f4c8497ab47e64bcc5d8cea12a109fede5e' into gingerbread-plus-aosp
* commit '36f06f4c8497ab47e64bcc5d8cea12a109fede5e':
DB migration to eliminate some null fields in old downloads
|
| | |\
| | | |
| | | |
| | | | |
gingerbread
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The DownloadProvider now ensures that current bytes, total bytes,
title and description are never null in the DB. Some new code relies
on this assumption for simplicity. That means we need to ensure this
invariant is true for pre-existing downloads as well.
Change-Id: Iea2289516d2636edf3394678ab08aa9cea31dc69
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
changes
Merge commit '5dbaa73a7f356f67810becbf3ad258a7dd765e59'
* commit '5dbaa73a7f356f67810becbf3ad258a7dd765e59':
Support multi-valued HTTP headers, handle new API changes
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit 'ebb555c0687061993dd6a22d15f6aab2437ee8c5' into gingerbread-plus-aosp
* commit 'ebb555c0687061993dd6a22d15f6aab2437ee8c5':
Support multi-valued HTTP headers, handle new API changes
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* backend support for multiple values for the same HTTP headers, for
corresponding API changes
* other minor changes in response to DownloadManager API changes
Change-Id: I7c595e94a60ed7afaca6cc3fb4c05aaeeff20c2a
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'ca3d52cc2aa06ab889f2680f1cc28f540efc1cf1'
* commit 'ca3d52cc2aa06ab889f2680f1cc28f540efc1cf1':
Expose permission to download without notification.
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'ece96c7475696d8b447bb8523f4ad83c897002ea' into gingerbread-plus-aosp
* commit 'ece96c7475696d8b447bb8523f4ad83c897002ea':
Expose permission to download without notification.
|
| | |
| | |
| | |
| | | |
Change-Id: I43d3b9ca4ea7d4786a47363b4f5f7e6f003013bb
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
limits.
Merge commit '7b96b251c0404ed3f05652bd7d5209910fb999cc'
* commit '7b96b251c0404ed3f05652bd7d5209910fb999cc':
Implement dialogs for wifi required + recommended limits.
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'd319729622da1893e895f2e35f41d01ecdca3705' into gingerbread-plus-aosp
* commit 'd319729622da1893e895f2e35f41d01ecdca3705':
Implement dialogs for wifi required + recommended limits.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change extends the original work to add a size limit over which
wifi is required to download a file.
First, this change adds a second size limit, over which wifi is
recommended but not required. The user has the option to bypass this
limit.
Second, this change implements dialogs shown to the user when either
limit is exceeded. These dialogs are shown by the background download
manager service when a download is started and found to be over the
limit (and wifi is not connected).
I'm including one small fix to the unit tests needed from the previous
change.
Change-Id: Ia0f0acaa7b0d00e98355925c3446c0472048df10
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
on external
Merge commit '7c5a33e468d8d029f66c2fe9191132e9b4ad991b'
* commit '7c5a33e468d8d029f66c2fe9191132e9b4ad991b':
Display time for today's downloads, delete files on external
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '78f433c68f14dfba605ceb0e5f3dc54243efd2b2' into gingerbread-plus-aosp
* commit '78f433c68f14dfba605ceb0e5f3dc54243efd2b2':
Display time for today's downloads, delete files on external
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* in downloads UI, for downloads that occurred today, display the time
of day rather than the date
* when deleting a download on external from the downloads UI,
explicitly delete the underlying file as well (the service only
deletes cache files when deleting a download from the database, it
intentionally leaves external files around)
Change-Id: I9aa02dabe3c091a67e2c2196a0ea2f313bcdcef0
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
error messages in UI" into gingerbread
Merge commit '2031fa7bad5ef3e31cf0ea73d0b9bf4670842cf0'
* commit '2031fa7bad5ef3e31cf0ea73d0b9bf4670842cf0':
Improve file error reporting + new detailed error messages in UI
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
messages in UI" into gingerbread
Merge commit 'dc738781156d0f5ac1db62838d42c876d740810d' into gingerbread-plus-aosp
* commit 'dc738781156d0f5ac1db62838d42c876d740810d':
Improve file error reporting + new detailed error messages in UI
|
| | |\
| | | |
| | | |
| | | | |
into gingerbread
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* support new error code for "destination file already exists"
* improve error handling for various file error cases to return a more
specific error code when appropriate
* make UI support more detailed error messages for some cases
* use Uri.getPath() instead of Uri.getSchemeSpecificPart() for file
URIs
Change-Id: Icb01d4d3b47c7776be3ddcd8347212e950cd023e
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
sub-makefiles
Merge commit 'b8cadd87bfc628090c36f74979c7691bb1219ea1'
* commit 'b8cadd87bfc628090c36f74979c7691bb1219ea1':
Fix DownloadProvider makefile to correctly include sub-makefiles
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '2d0ed12eb053170dac2a93f725e86103e74d0da2' into gingerbread-plus-aosp
* commit '2d0ed12eb053170dac2a93f725e86103e74d0da2':
Fix DownloadProvider makefile to correctly include sub-makefiles
|
| | |/
| | |
| | |
| | | |
Change-Id: I569e168267305939197e9af86f9598b17283a2c6
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '5eb3490642695957074b6547eb48e3d36ab49131'
* commit '5eb3490642695957074b6547eb48e3d36ab49131':
New assets for download manager UI.
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'dbefa6f5eff88f97dd91a8adfd65dbd946adb99e' into gingerbread-plus-aosp
* commit 'dbefa6f5eff88f97dd91a8adfd65dbd946adb99e':
New assets for download manager UI.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Includes new launcher icon and new icon/string for sorting by time.
Change-Id: I5b87da9d5fa53184b1a3096f25e0d45678aa1700
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DownloadReceiver
Merge commit 'b9115af1e7b39a25c00aed7c9d3bb413ecef9eda'
* commit 'b9115af1e7b39a25c00aed7c9d3bb413ecef9eda':
Fix notification bugs, cleanup DownloadService + DownloadReceiver
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '3398db8f3b195959faa2a7cf09918f364432ac28' into gingerbread-plus-aosp
* commit '3398db8f3b195959faa2a7cf09918f364432ac28':
Fix notification bugs, cleanup DownloadService + DownloadReceiver
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change started out just fixing a few regressions related to
notifications:
* Browser downloads weren't picking up a title from the determined
filename. This was due to my change to default the title field to
"" instead of null.
* Notification click/hide events weren't being handled properly. This
was due to previous change to the URI structure of DownloadProvider.
DownloadReceiver needed to be changed to perform queries through
/all_downloads URIs, like all other parts of the download manager
code. I did some general refactoring of the DownloadReceiver code
while I was there.
* The code in DownloadNotification wasn't picking up some updates to
downloads properly. This was due to my change to make
DownloadNotification use the DownloadInfo objects rather than
querying the database directly, so that it could make use of info
provided by the DownloadThread that didn't go into the DB. Fixing
this didn't turn out to be all that complicated, but along the way
to figuring this out I made some substantial refactoring in
DownloadService which made it much cleaner anyway and eliminated a
lot of duplication. That's something that had to happen eventually,
so I'm leaving it all in.
Change-Id: I847ccf80e3d928c84e36bc24791b33204104e1b2
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'e80270177d1b504525d1f4ea4139b0c213fea891'
* commit 'e80270177d1b504525d1f4ea4139b0c213fea891':
Temporary fix to support old URIs for Market
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '4bebe75b3e2361d7fb0aa966598c41c45ad9317f' into gingerbread-plus-aosp
* commit '4bebe75b3e2361d7fb0aa966598c41c45ad9317f':
Temporary fix to support old URIs for Market
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Market has its own copies of the download manager URIs. This change
bring back support for those so Market will keep working until they
can properly update their code.
Change-Id: I283ea65931085c0f083a182842d362c113427537
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '176a74426f750dc56e7d200a4cdc3b6ed75fe6cd'
* commit '176a74426f750dc56e7d200a4cdc3b6ed75fe6cd':
New URI structure with "my_downloads" and "all_downloads"
|
| |\|
| | |
| | |
| | | |
Change-Id: I18ede2f2d5ad8aa40cd61bdb7213659d356fdf57
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change introduces a second view into the download manager
database via a set of URIs starting with /all_downloads, renaming the
original /download URIs to /my_downloads. In addition to making
things more clear, this change allows the downloads UI to grant
permissions on individual downloads to viewer apps.
The old semantics were:
* for ordinary callers, /download included only downloads initiated by
the calling UID
* for intraprocess calls or calls by root, /download included all
downloads
The new semantics are
* /my_downloads always includes only downloads initiated by the
calling UID, and requires only INTERNET permission. It could just
as well require no permission, but that's not possible in the
framework, since path-permissions can only broaden access, not
tighten it. It doesn't matter, because these URIs are useless
without INTERNET permission -- if a user can't initiate downloads,
there's no reason to read this.
* /all_downloads always includes all downloads on the system, and
requires the new permission ACCESS_ALL_DOWNLOADS. This permission
is currently protectionLevel=signature -- this could be relaxed
later to support third-party download managers.
All download manager code has been changed to use /all_downloads URIs,
except when passing a URI to another app. In making this change
across the download manager code, I've taken some liberties in
cleaning things up. Other apps are unchanged and will use
/my_downloads.
Finally, this incorporates changes to DownloadManager to return a
content URI for /cache downloads -- the download UI no longer assumes
it's a file URI, and it grants permissions to the receiver of the VIEW
intent. The public API test has also been updated.
I've also fixed some null cursor checking in DownloadManager.
Change-Id: I05a501eb4388249fe80c43724405657c950d7238
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
notification.
Merge commit '57df1b6a7219e049371cae72b36a63d04e214f59'
* commit '57df1b6a7219e049371cae72b36a63d04e214f59':
Use new status bar text styles in download notification.
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '33671e9c1e9ffa3776ed987bddeb70a04daa7cfe' into gingerbread-plus-aosp
* commit '33671e9c1e9ffa3776ed987bddeb70a04daa7cfe':
Use new status bar text styles in download notification.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This avoids the black text on black background problem with new
themes.
Change-Id: I3e05a2a4035dc5837dad67d889f92864c619c6b5
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I4142010ad4bf7f22c089cb307e73ff8865cdaafa
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
notifications." into gingerbread
Merge commit 'd5c0120af6eae66f15e83ef61eb61ea19542b097'
* commit 'd5c0120af6eae66f15e83ef61eb61ea19542b097':
Fix silly bug with completed notifications.
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
gingerbread
Merge commit '13db200521cf8ead0d96173bccd7e141182eeccd' into gingerbread-plus-aosp
* commit '13db200521cf8ead0d96173bccd7e141182eeccd':
Fix silly bug with completed notifications.
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This functionality isn't part of the public API, hence it lacks test
coverage. Rather than adding tests, I'm inclined to leave it and
hopefully we'll be able to migrate existing apps to the public API
soon enough.
Change-Id: I1210c6525dfb7cb12c1b8e35c04684060d3ad87e
|
|\| | | |
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '7fa71b17d1bcaceb4688cb4b0e6982d1db4a0538'
* commit '7fa71b17d1bcaceb4688cb4b0e6982d1db4a0538':
Further work on the new downloads UI.
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '71e7fda9135a0915af1fd419d07ebf85ad09beb4' into gingerbread-plus-aosp
* commit '71e7fda9135a0915af1fd419d07ebf85ad09beb4':
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
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'b62d8ca63ce24ff427896e4c3784f742b9b2e78b'
* commit 'b62d8ca63ce24ff427896e4c3784f742b9b2e78b':
Import revised translations. DO NOT MERGE
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit 'f8ccad3e970434111b3920dc639e05ca48ca66c2' into gingerbread-plus-aosp
* commit 'f8ccad3e970434111b3920dc639e05ca48ca66c2':
Import revised translations. DO NOT MERGE
|