summaryrefslogtreecommitdiffstats
path: root/res/values/strings.xml
Commit message (Collapse)AuthorAgeFilesLines
* Fix internationalization of percentage formatting in DownloadProvider.Elliott Hughes2014-10-101-4/+1
| | | | | Bug: 15476051 Change-Id: I085c074f1bb66631872712cab68bcaf6ee7ba7dc
* Extend trampoline to show dialogs.Jeff Sharkey2013-09-061-0/+3
| | | | | | | | | Handle incoming manage requests by launching finished downloads, or showing various retry dialogs. Pipe through summary, show percentage when in progress, and always show total size and MIME type. Bug: 10531347, 10599641 Change-Id: I3be2bc67ea3c0ef795146177200f5be77ad5114e
* Delegate to documents UI; improve contents.Jeff Sharkey2013-08-151-0/+10
| | | | | | | | | When Downloads app is launched, delegate to new documents management UI. Use DownloadManager public API to match the contents of the existing Downloads UI. Bug: 10329983 Change-Id: Iaa1a1dc013cfe3b17d31ecc764d4c4cc13f62258
* First pass at Downloads storage provider.Jeff Sharkey2013-08-071-0/+3
| | | | | | | Offers a view of Downloads through the lens of DocumentsContract for surfacing in new storage UI. Change-Id: I4373c2498b4b82bfee2300a00f8d0bb734bf574c
* Show remaining time in download notifications.Jeff Sharkey2012-11-141-0/+3
| | | | | | | | | | Calculate speed of in-progress downloads and estimate time remaining until completion. Uses a moving average that is weighted 1:1 with the most recent 500ms sample. Funnels timing data to notifications through DownloadHandler. Bug: 6777872 Change-Id: I9155f2979aa330bd1172f63bbfca1d053815cee5
* Rewrite of download notifications.Jeff Sharkey2012-11-091-17/+17
| | | | | | | | | | | | | | | | | | Switch to using new inbox-style notifications when collapsing multiple downloads. Correctly handles clustering, including cancellation of stale notifications. All notifications are now handled in a single class, making it easier to reason about correctness. Fixed bugs around handling of visibility flags. Move away from using "int" as internal keys, since they can overflow. Started work for time estimates, will finish in a future CL. Explicitly pass all relevant IDs to DownloadReceiver instead of doing a second racy query. Fix StrictMode warnings when querying in DownloadReceiver. Bug: 6777872, 5463678, 6663547, 6967346, 6634261, 5608365 Change-Id: I5eb47b73b90b6250acec2ce5bf8d7a274ed9d3a9
* fix build break (unescaped apostrophe in string)Doug Zongker2011-10-181-1/+1
| | | | Change-Id: I82abd3eac4f22cc7a71ad6f74335f50800b54ea2
* String edits to bring UI text to standards.Claudia de Veaux2011-10-171-23/+23
| | | | | | Bugs: 5165745, 5163232, 5162668, 5162667, 5162328 Change-Id: I1d7ae9b5a95d2a16a1f3d1b74076c052d2748e8d
* Move to Notification.Builder progress API.Jeff Sharkey2011-08-091-0/+2
| | | | | | | | Instead of using custom layout to surface progress information, use new Builder API. Also use resources to build percent string. Bug: 4022082 Change-Id: I556a666771e9103ce5d7ddb60faa879b8777b284
* Teach DownloadManager about network policy.Jeff Sharkey2011-06-171-0/+4
| | | | | | | | | | | Now network access is determined by using getActiveNetworkInfoForUid() which uses BLOCKED to indicate that network should be rejected for the requesting UID. While download in progress, watch for any policy changes that should trigger pause. Also check NetworkInfo.isConnected() for correctness. Change-Id: I1efa79823f15ecc3fa088a6719da1b770c64b255
* Replace shared storage with USB storage.Eric Fischer2010-10-201-1/+1
| | | | Change-Id: If3fb1c213f9f9c6f21bd1f13f633393a32d2509a
* bug:3083060 UI tweaks to DownloadManager screensVasu Nori2010-10-191-9/+13
| | | | Change-Id: I3c7ee819077d344072deee4cfd61f883c64da758
* Split strings with SD card references into variations.Eric Fischer2010-09-281-1/+3
| | | | Change-Id: I62562315a3b0691ee3a541e320b42463cff65265
* UI + string tweaks for downloads UI + size limits UISteve Howard2010-09-261-21/+19
| | | | | | | | | * tweaks to UI strings based on feedback * new "retry" button for single selection of failed download * make SizeLimitActivity translucent+titleless, so it looks like a dialog over the current app Change-Id: I6a990275880d23ab6b4368d39b70f0ad042825ec
* Expose permission to download without notification.Steve Howard2010-09-211-2/+2
| | | | Change-Id: I43d3b9ca4ea7d4786a47363b4f5f7e6f003013bb
* Implement dialogs for wifi required + recommended limits.Steve Howard2010-09-211-0/+45
| | | | | | | | | | | | | | | | | | | 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
* New URI structure with "my_downloads" and "all_downloads"Steve Howard2010-09-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add UI message when queued for wifi due to size.Steve Howard2010-08-201-0/+9
| | | | | | | | | | | | | | | | As it stands, when a download is paused because it's too big to proceed over mobile, and must proceed over wifi, it looks like any other paused download, with no indication of why it's paused. That may be passable for most other reasons for pausing a download, but it seems too confusing for this case. So this change adds a simple string message that replaces the progress bar when a download is paused for this reason (the icon also changes to a warning). The implementation isn't beautiful and could use some improvement, but I think it's acceptable and necessary. The exact UI design and wording are certainly open to change. Change-Id: I753d57f463e2614b5694bdc178d2a51066da8ca3
* Make all public API downloads visible.Steve Howard2010-07-281-6/+23
| | | | | | | | | | | | | | | | This change makes all downloads through the public API visible by default. It removes the API that had allowed applications to control notifications while the download runs. This has been replaced with a hidden API, since such behavior is needed by SystemUpdater and Market (for self-updates). Additionally, the behavior is now protected by a new permission. I'm making this permission signatureOrSystem, and changing the non-purgeable permission to the same (it should've been that, I just didn't know). I'm also adding string descriptions to appease the translation folks. Change-Id: I192e8b19ff9b0e425257cef0db081c3d75996ea5
* Support for non-purgeable downloads through the public API.Steve Howard2010-07-231-0/+9
| | | | | | | | | | | This change adds a permission, android.permission.DOWNLOAD_CACHE_NON_PURGEABLE. When an app has this permission, any downloads it requests through the public API to the download cache will automatically become non-purgeable, i.e. they'll never be automatically deleted by the download manager to free up space. This is intended for use only by the system updater. Change-Id: I35cdd44f7e5d46bc70443d1a9743f61a51395ddb
* Create a new permission that allows apps to see downloads from otherLeon Scroggins2010-02-051-0/+6
| | | | | | | | | | | | applications to the SD card. Necessary for http://b/issue?id=2384554 Also create names for files by default, so they do not display as <Untitled>. Remove calls to createTitleFromFilename, which are no longer necessary. Requires a change to frameworks/base.
* remove ACCESS_CACHE_FILESYSTEM permissionDoug Zongker2010-01-061-18/+2
| | | | | | Its definition is moving to frameworks/base. Change-Id: Ieb0409c458939c14e2cc8b5bdbcef14564a59c55
* Armor string format tokens with translation placeholders.Eric Fischer2009-08-271-2/+2
| | | | Change-Id: I39f5b8edf8af4fe5469ae42275dade1b753f696a
* Fix strings whose apostrophes were eaten because of the lack of a backslash.Eric Fischer2009-08-271-1/+1
| | | | Change-Id: Iea17b7daafd5f04d3c3e82f21862c6c326595f14
* Make name of Download Provider localizable.Eric Fischer2009-06-161-0/+3
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+119
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-119/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-27/+72
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+74