summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads/OpenHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-4.4_r1' into cm-11.0Ricardo Cerqueira2013-11-051-9/+31
|\ | | | | | | | | | | Android 4.4 Release 1.0 Change-Id: I6eadeafdb9d3219bebd28325b4e290b6d5282499
| * Allow all downloads to be writable.Jeff Sharkey2013-10-011-1/+3
| | | | | | | | | | Bug: 10943812 Change-Id: Ib0cb3e608c1f40a2e2fcd6e493c8f920d8b4221b
| * Unified handling of errors around opening.Jeff Sharkey2013-09-181-8/+28
| | | | | | | | | | | | | | Handle both missing downloads and missing activities. Bug: 10799449, 10713636 Change-Id: I592b07fc5cf530526803379d7f7a99e8a6b207c4
* | Merge tag 'android-4.3_r2.1' into cm-10.2Ricardo Cerqueira2013-07-251-2/+8
|\| | | | | | | | | | | | | | | | | Android 4.3 release 2.1 Conflicts: res/values-cs/strings.xml Change-Id: Idceee08cb4d6f69e4f8cc4c043142852ac932e7f
| * Cleaner I/O.Jeff Sharkey2012-12-131-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | This cleans up writing of downloaded data by always writing through OutputStream interface, which applies DRM if needed. Hands I/O streams along with method calls to give clearer chain of ownership. Only retry writes once after verifying free space. Remove checkCanHandleDownload() check, since most downloads are now using public API. Release DrmManagerClient sessions when finished. Change-Id: I49e479089a8218690b556d31ec65a030930ad368
* | 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
* Bring back DRM mimetypes.Jeff Sharkey2012-10-191-1/+4
| | | | | | | I don't like DRM, but other people do. Bug: 7370549 Change-Id: I44220404eab6e6cc85ea16cfcf58474135c03f83
* Merge "Remove FLAG_ACTIVITY_NEW_TASK from the VIEW intent." into jb-mr1-devRuben Brunk2012-09-281-1/+1
|\
| * Remove FLAG_ACTIVITY_NEW_TASK from the VIEW intent.Ruben Brunk2012-09-261-1/+1
| | | | | | | | | | | | | | | | | | 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
* Send ORIGINATING_URI and REFERRER to installer.Jeff Sharkey2012-08-271-0/+105
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