summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | * merge in jb-release history after reset to jb-devThe Android Automerger2012-06-080-0/+0
| | |\
* | | | 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.
| | * | Uniform "when" to avoid flashing notifications.Jeff Sharkey2012-06-071-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When showing a download, remember the first timestamp when we showed a notification, and use that time as "when" for all future updates to avoid flashing. Also bring back icon animation that had regressed. Bug: 6596416, 6237256 Change-Id: Ifdc5dc6870dac047515151c1b088e6e379b6a063
* | | | am a1556511: Reconcile with jb-releaseThe Android Open Source Project2012-06-070-0/+0
|\| | | | | | | | | | | | | | | * commit 'a155651109589b4bf69c9af7e1d515b6b26cb3fe':
| * | | Reconcile with jb-releaseThe Android Open Source Project2012-06-070-0/+0
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: Icc86c6dba50bad25e4031c47a2580a1af4eeeb1e
| | * | merge in jb-release history after reset to jb-devThe Android Automerger2012-06-060-0/+0
| | |\ \ | | | |/ | | |/|
* | | | am 8c4f4292: am 03fcf943: Download items should always fit screen.Jeff Sharkey2012-06-051-0/+2
|\| | | | | | | | | | | | | | | | | | | * commit '8c4f42924ba55d636d19caeb2ccbdd7e32edc443': Download items should always fit screen.
| * | | am 03fcf943: Download items should always fit screen.Jeff Sharkey2012-06-051-0/+2
| |\| | | | | | | | | | | | | | | | | | * commit '03fcf94300996a9cb7889ca03ddb2c62ca2ba606': Download items should always fit screen.
| | * | Download items should always fit screen.Jeff Sharkey2012-06-051-0/+2
| | | | | | | | | | | | | | | | | | | | Bug: 6614812 Change-Id: I9b5eb051bce1e296478fb1fa6f95b710fa0c819f
* | | | Import translations. DO NOT MERGEEric Fischer2012-05-252-2/+2
| | | | | | | | | | | | | | | | Change-Id: I952cc9c502b2896d4ec4e17fb184f93ad97ae1b4
* | | | am 7e62209a: Reconcile with jb-releaseThe Android Open Source Project2012-05-240-0/+0
|\| | | | | | | | | | | | | | | * commit '7e62209a5ebd83d92ae51f4872723cb7f1a854ae':
| * | | Reconcile with jb-releaseThe Android Open Source Project2012-05-240-0/+0
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: I5082e21795dab58054b3a6fea228ac6e0312be15
| | * | merge in jb-release history after reset to jb-devThe Android Automerger2012-05-240-0/+0
| | |\ \ | | | |/ | | |/|
* | | | am 0cb81ea3: am f5ac95ff: Updating launcher icon to fix alignment. Bug: 6511716Christian Robertson2012-05-231-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit '0cb81ea364ca9ac2c66e2ad2026d9b78bd792de5': Updating launcher icon to fix alignment. Bug: 6511716
| * | | am f5ac95ff: Updating launcher icon to fix alignment. Bug: 6511716Christian Robertson2012-05-231-0/+0
| |\| | | | | | | | | | | | | | | | | | * commit 'f5ac95ffef7897c83706eed9e419e6c015adaf75': Updating launcher icon to fix alignment. Bug: 6511716
| | * | Updating launcher icon to fix alignment. Bug: 6511716Christian Robertson2012-05-231-0/+0
| | | | | | | | | | | | | | | | Change-Id: I63fa8b85935aef453ea31730c3fc38127f0451f6
* | | | am c1df0651: am 0acd13fe: Merge "avoid repetition of retrying download"Jean-Baptiste Queru2012-05-211-5/+2
|\| | | | | | | | | | | | | | | | | | | * commit 'c1df0651e86ab6d0918cfac86ff54d3fb3781a69': avoid repetition of retrying download
| * | | am 0acd13fe: Merge "avoid repetition of retrying download"Jean-Baptiste Queru2012-05-211-5/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '0acd13fed2f4d0857ce89565fe94674c09b1e844': avoid repetition of retrying download
| | * \ \ Merge "avoid repetition of retrying download"Jean-Baptiste Queru2012-05-211-5/+2
| | |\ \ \
| | | * | | avoid repetition of retrying downloadHideki Hayami2012-02-141-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If isReadyToStart returns 'true' for STATUS_INSUFFICIENT_SPACE_ERROR, DownloadProvider retries downloading after it gets requests from browser to download contents. The retrying loop won't stop until its completion (recovering from space error), or user stops downloading. This retry loop impacts to network traffic, battery consumption and packet charge. So, change this method to return 'false' for the error in order to stop the loop. Change-Id: Ia3466db60d86c5900842c7c28d294898ae3ff2bc
* | | | | | am 3b696ab3: Reconcile with jb-release nakasi-factoryrom-releaseThe Android Open Source Project2012-05-160-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '3b696ab3c80388a4f1a413d39d536d2858b9f4e5':
| | \ \ \ \
| | \ \ \ \
| *-. | | | | Reconcile with jb-release nakasi-factoryrom-releaseThe Android Open Source Project2012-05-160-0/+0
| |\ \| | | | | | |_|_|/ / | |/| | | / | | | |_|/ | | |/| | Change-Id: Ie7f0fac996068219e01f8560eff0156987e931fb
| | * | | merge in jb-release history after reset to jb-devThe Android Automerger2012-05-040-0/+0
| |/| | |