summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix download notification click behaviour.cm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3cm-10.1.2cm-10.1.1cm-10.1.0-RC5cm-10.1.0-RC4cm-10.1.0-RC3cm-10.1.0-RC2cm-10.1.0-RC1cm-10.1.0cm-10.1-M3cm-10.1Danny Baumann2013-04-051-3/+7
| | | | | | | | | | PendingIntent.getBroadcast() doesn't update the intent extras if not explicitly given something to distinguish the intents. This caused the notification on-click to do nothing on everything but the first download. Change-Id: Ie69459c8bd31922133d7d1d130b2835c84e6037a JIRA:CYAN-756
* Open images with content://media/ instead of content://downloads/ URI.Thomas Wendt2013-02-241-0/+9
| | | | | | | This allows images to be shared directly after opening them with the DownloadManager. Change-Id: I65c79923b7aef4c1113e572030c9c7f750b73df0
* Czech: fixed translationcm-10.1-M2Ondrej Zima2013-02-161-13/+15
| | | | | | Patchset #2: changed WiFi -> Wi-Fi Change-Id: Iea9e64747faa0743c9809158a0aec9151db352bf
* Merge tag 'android-4.2.2_r1' of ↵mr1.1-stagingSteve Kondik2013-02-1261-547/+1028
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/providers/DownloadProvider into 1.1 Android 4.2.2 release 1
| * Cancel stale notifications when starting.Jeff Sharkey2012-12-132-0/+5
| | | | | | | | | | Bug: 7693834 Change-Id: I5e212be321cccae0f7c76f80049c4e09f0867694
| * Import translations. DO NOT MERGEBaligh Uddin2012-12-121-2/+2
| | | | | | | | | | Change-Id: Icadeb210d13e600f85b1a1d21aaaa79e26d78240 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2012-12-061-1/+1
| | | | | | | | | | Change-Id: I6882b2a17c13803e66b1afc8e0bc02dd3d4bf049 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2012-12-052-2/+2
| | | | | | | | | | Change-Id: Ia4dc102097a8c6085e20d7fc7e2e10adc475f872 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2012-11-2912-22/+12
| | | | | | | | | | Change-Id: I195b9b502336dad204ce6b4e9a1a74cc9f9f398f Auto-generated-cl: translation import
| * Merge "Improve download remaining time calculation." into jb-mr1.1-devJeff Sharkey2012-11-283-26/+14
| |\
| | * Improve download remaining time calculation.Jeff Sharkey2012-11-283-26/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calculate remaining time in DownloadNotifier so we always use the most recent progress data, which avoids showing stale times. Weight speed calculation to prefer historical data so remaining time is smoother on bumpy network connections. Bug: 7631948 Change-Id: I497be0899e65086356745340b19d3987c6185bdd
| * | Merge "Update extras for in-progress download." into jb-mr1.1-devJeff Sharkey2012-11-273-9/+8
| |\|
| | * Update extras for in-progress download.Jeff Sharkey2012-11-273-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | Follow move to EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS extras, which was missing during refactoring. Bug: 7617373 Change-Id: I26203a2bc6fc0e211a1aa602c0de018332d76f60
| * | Import translations. DO NOT MERGEBaligh Uddin2012-11-274-7/+4
| |/ | | | | | | | | Change-Id: Ib11120e47f29151b4281f86db6dbeaecf4e060d5 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2012-11-2214-28/+14
| | | | | | | | | | Change-Id: I8aa3828fb38dc088148dbe588735364ccb09bee5 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2012-11-2023-57/+43
| | | | | | | | | | Change-Id: I5fe1cabbe3d55843bb3155efb5c0c00a511b04fd Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2012-11-1648-231/+464
| | | | | | | | | | Change-Id: I79fc66232d0405d1a631ff00ae21579baa4d6a3f Auto-generated-cl: translation import
| * Merge "Show remaining time in download notifications." into jb-mr1.1-devJeff Sharkey2012-11-156-17/+86
| |\
| | * Show remaining time in download notifications.Jeff Sharkey2012-11-146-17/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Import translations. DO NOT MERGEBaligh Uddin2012-11-1448-104/+296
| |/ | | | | | | | | Change-Id: I6ca8a2ceef5a5ad54a9cff1b4194669762d637cf Auto-generated-cl: translation import
| * Rewrite of download notifications.Jeff Sharkey2012-11-098-419/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'jb-mr1-release' of ↵cm-10.1-M1Steve Kondik2012-11-1825-192/+336
|\| | | | | | | https://android.googlesource.com/platform/packages/providers/DownloadProvider into HEAD
| * Better sanity checking for finished downloads.Jeff Sharkey2012-10-242-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Downloads in the RUNNING state are considered ready to start so that downloads are correctly resumed when the process crashes. However, this causes a race condition while UpdateThread is processing a Cursor when a DownloadThread finishes. With this change, DownloadThread now skips requests for downloads already marked as finished. Apps listening for the DOWNLOAD_COMPLETE broadcast will no longer see data mutated by the second thread, and will not see the broadcast duplicated. Bug: 6948938, 6970458, 6818900 Change-Id: I35deac3cedbfe7f50091fab5818d85594dba558c
| * Bring back DRM mimetypes.Jeff Sharkey2012-10-191-1/+4
| | | | | | | | | | | | | | I don't like DRM, but other people do. Bug: 7370549 Change-Id: I44220404eab6e6cc85ea16cfcf58474135c03f83
| * Let's enhanceJason Chen2012-10-121-0/+0
| | | | | | | | | | | | | | Add mipmap-xxhdpi launcher icon asset. Bug: 6718166 Change-Id: I9fbe8e6c5345fddc78b0129e329205aaf973ea6c
| * Skip scanning a file which will be deleted.Jeff Sharkey2012-10-051-3/+0
| | | | | | | | | | | | | | | | | | When deleting a download, don't bother scanning it, since we'll just delete it moments later. This was already racy since it didn't even wait for the scan to complete. Bug: 7256243 Change-Id: I8c3b96823d94bc1688ef336cb45746ccd35fc760
| * Handle not fully connected networks.Jeff Sharkey2012-10-031-1/+1
| | | | | | | | | | | | | | | | | | When checking network status, treat non-connected networks as disconnected. This handles cases like captive portal checks, and slow DHCP servers. Bug: 7264340 Change-Id: I0b466cee5d5cb73037f3fb209c583711b8f9eefd
| * Merge "Remove FLAG_ACTIVITY_NEW_TASK from the VIEW intent." into jb-mr1-devRuben Brunk2012-09-282-1/+2
| |\
| | * Remove FLAG_ACTIVITY_NEW_TASK from the VIEW intent.Ruben Brunk2012-09-262-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7164238 Bug: 7237908 Got rid of FLAG_ACTIVITY_NEW_TASK for proper back behavior Change-Id: I50af9aeafb27d6079bda4f81f4a116b6bb600676
| * | Send uid of the application that initiated the downloadBen Gruver2012-09-271-0/+17
| |/ | | | | | | | | Bug: 6923241 Change-Id: Idf4037b4e360cb6453b315d1cc95608762c9e0c8
| * Properly dispatch checkbox togglingRomain Guy2012-09-131-1/+3
| | | | | | | | | | | | Bug #6995003 Change-Id: I3dba57d7ee9697bfdb976432096c680a0f0a4480
| * Send ORIGINATING_URI and REFERRER to installer.Jeff Sharkey2012-08-274-33/+119
| | | | | | | | | | | | | | | | | | When building PackageInstaller intents, include ORIGINATING_URI and REFERRER extras. Unify view intent building for both notifications and list UI. Bug: 6900672 Change-Id: I18435e0f8aa549880ec594f82b6a250232706135
| * am d7dd6019: Merge "Adds missing Bluetooth as network type."Jean-Baptiste Queru2012-08-081-0/+3
| |\ | | | | | | | | | | | | * commit 'd7dd6019baf12961dce722d33003e238cdd72f6a': Adds missing Bluetooth as network type.
| | * Merge "Adds missing Bluetooth as network type."Jean-Baptiste Queru2012-08-081-0/+3
| | |\
| | | * Adds missing Bluetooth as network type.Håkan3 Johansson2012-07-101-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | The network connection type for Bluetooth is added so that it is possible to use Bluetooth as Hotspot during download from the Internet. Change-Id: Ic32b083068d8316a41f2c31a3575a28163f6c7f3
| * | Explicitly export content providersNick Kralevich2012-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | In a future version of Android, the default value for <provider android:exported> will change from true to false. Explicitly set android:exported="true" Bug: 3306452 Change-Id: Id23f16a8527ba97be1d8617ccfc4346734f695d0
| * | Move notification tests to LittleMock.Jeff Sharkey2012-07-249-112/+108
| | | | | | | | | | | | | | | | | | Directly mock NotificationManager instead of using SystemFacade. Change-Id: If932d26e23816e8674469c275a828701cce5fc2d
| * | Merge "Reduce deletion logging."Jeff Sharkey2012-07-203-14/+23
| |\ \
| | * | Reduce deletion logging.Jeff Sharkey2012-07-203-14/+23
| | | | | | | | | | | | | | | | | | | | Bug: 6544953 Change-Id: I4157c67b9b9cddab4ade795c328a202f6a230f95
| * | | Import translations. DO NOT MERGEYing Wang2012-07-201-9/+9
| |/ / | | | | | | | | | | | | Change-Id: I50f7efa62f6cb011cc8cda96b572e0327481e275 Auto-generated-cl: translation import
| * | Import translations. DO NOT MERGEYing Wang2012-07-181-1/+1
| | | | | | | | | | | | | | | Change-Id: I4fb5bdc4c7aff92e7d04cdfbd61d985539a25be4 Auto-generated-cl: translation import
| * | Import translations. DO NOT MERGEYing Wang2012-07-161-2/+2
| | | | | | | | | | | | | | | Change-Id: Id1e521b41e4807247a99c2d4fac6b092799c4097 Auto-generated-cl: translation import
| * | Import translations. DO NOT MERGEYing Wang2012-07-132-10/+10
| | | | | | | | | | | | | | | Change-Id: Icb03811c70a091981b748e50004b2db597c68280 Auto-generated-cl: translation import
| * | No echo or earcon after checking/unchecking items in the download screen.Svetoslav Ganov2012-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The problem is that download provider is using a custom view to intercept clicks to toggle the state of the nested check box. However, the when toggling the code is not calling performClick() on the check box which aside of toggling will also send the right accessibility event. bug:6705105 Change-Id: Ia7253ff05f6e4575a346b9aaf3fbceecd68b9782
| * | Import translations. DO NOT MERGEYing Wang2012-06-181-1/+1
| | | | | | | | | | | | Change-Id: Ia9138f7b8611650a3dfab998de558c1b53b0f27b
| * | am 2b9a11f7: Reconcile with jb-releaseThe Android Open Source Project2012-06-110-0/+0
| |\| | | | | | | | | | * commit '2b9a11f729ce4ce5e7ef06c611522146468dc208':
| | * Reconcile with jb-releaseThe Android Open Source Project2012-06-110-0/+0
| | |\ | | | | | | | | | | | | Change-Id: I498fdba3aa0836ff4f4f42e43e0e7a5d94dfa25d
| * | | Import translations. DO NOT MERGEEric Fischer2012-06-071-1/+1
| | | | | | | | | | | | | | | | Change-Id: I9e117db77c61afa73e9d2bdaeb6080270ac4ca4c
| * | | am c5b582ce: am f918429d: Uniform "when" to avoid flashing notifications.Jeff Sharkey2012-06-071-1/+16
| |\| | | | | | | | | | | | | | | | | | * commit 'c5b582cebe167264106df5fa7b2ae7312cd456ce': Uniform "when" to avoid flashing notifications.
| | * | am f918429d: Uniform "when" to avoid flashing notifications.Jeff Sharkey2012-06-071-1/+16
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit 'f918429d0c1927a19d688baa26a07c2c65765580': Uniform "when" to avoid flashing notifications.