summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove "public" download feature.cm-11.0Jeff Sharkey2018-09-131-12/+2
| | | | | | | | | | | It was never a supported API, and has been reported as causing security issues, so remove it. Bug: 111084083 Test: builds Change-Id: I26345b192ffd55216bb8c8fdb82cb5869d68d3db (cherry picked from commit 35e123117be9ec5d61dbaea60f6eac06c0e80dc4) CVE-2018-9468
* Merge conflict--DO NOT MERGE. Use resolved path for both checking and opening.Jeff Sharkey2016-04-173-20/+82
| | | | | | | | This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I0dcc41c94dfede2d5dc75031191605944be2e595
* Automatic translation importMichael Bestas2015-08-235-4/+88
| | | | Change-Id: I060ca3a45a83a6af7fcb52c8140e15e2740d56cc
* Automatic translation importMichael Bestas2015-06-221-0/+21
| | | | Change-Id: I3feb4b088259a99f9c5c26ca10518682fef2afdd
* Automatic translation importMichael Bestas2015-05-311-1/+1
| | | | Change-Id: I19098325b61ec84ca77d515757aa604cf81812a5
* Automatic translation importMichael Bestas2015-05-021-0/+24
| | | | Change-Id: I6a7814be1ca17a29ae13617d03d35652598e3fe5
* Automatic translation importMichael Bestas2015-04-183-0/+77
| | | | Change-Id: Icda8f6910063c234dfe9c51e2820e4cfde14ca3d
* Automatic translation importMichael Bestas2015-03-311-1/+1
| | | | Change-Id: Ifd35123cd86735cffdeb0d095d11d3d0bf2b26bd
* Automatic translation importMichael Bestas2015-03-164-3/+59
| | | | Change-Id: Ic1f78cfc552276da92926b16fa73bd19977e1355
* Automatic translation importMichael Bestas2015-03-042-0/+56
| | | | Change-Id: I287b83bb09ea441ab7589614aa642489ab4262c2
* Automatic translation importMichael Bestas2015-02-252-0/+56
| | | | Change-Id: I4e6d36f5a1cc31bedfd2a4012468ee0352526365
* Automatic translation importMichael Bestas2015-02-154-5/+29
| | | | Change-Id: If53aeddb9e514b786f4668fc2c4d508393f783ea
* Automatic translation importMichael Bestas2015-01-301-1/+1
| | | | Change-Id: Ic23e3631c22562d39d6cb88ad7f6fc1896304618
* Automatic translation importMichael Bestas2015-01-192-0/+15
| | | | Change-Id: Ic7a1e8ce0b568433f319c6f9e1dbd72bb20179a9
* Automatic translation importMichael Bestas2015-01-117-40/+4
| | | | Change-Id: Ia49f90b9fabeccc71f18238bcb07461d77a8bf31
* Automatic translation importMichael Bestas2015-01-033-10/+66
| | | | Change-Id: I659efe802021c095e3625f918083c5700319057f
* Automatic translation importMichael Bestas2014-12-202-0/+6
| | | | Change-Id: If14a59490d2cabbeb685508b235769b1cf5ecd61
* Automatic translation importMichael Bestas2014-11-103-4/+4
| | | | Change-Id: I26a2d90ab65b87071a19107b45cfc73c4c1f0cda
* DownloadProvider: fix secondary storage supportJames Sullins2014-10-294-77/+75
| | | | Change-Id: If9aba4c73b24d052b0379d624302ffda03fdf8e4
* Automatic translation importMichael Bestas2014-10-271-0/+31
| | | | Change-Id: If529f518eb0d4b6d93c38883bcbd225525d03fe0
* Automatic translation importMichael Bestas2014-10-213-0/+77
| | | | Change-Id: I6bd9e60d824f746ba0f3d2f62b4e9c5037043769
* Automatic translation importMichael Bestas2014-10-153-0/+130
| | | | Change-Id: I04c02834db0d8201dda37180daf9a929c9545e85
* Automatic translation importMichael Bestas2014-09-294-7/+43
| | | | Change-Id: I691e62b9ace9c1b69911d046ee90d942bada3704
* Automatic translation importMichael Bestas2014-09-011-1/+1
| | | | Change-Id: Icc93454edf18c58289062b577da376c3b7884bc9
* DownloadProvider: Use an alert icon for downloads that have an error status.Adnan2014-08-284-1/+3
| | | | Change-Id: If6d0f021cada1a09855009ab3276aa46bec74cfe
* DownloadProvider: Check if the device actually supports second storage.Adnan2014-08-284-20/+30
| | | | Change-Id: I78297ca235e058aecfd0ff5a0e990fc3004b4c77
* DownloadProvider: Create and implement DialogDismissListener.Adnan2014-08-272-5/+49
| | | | | | | - Better way to dismiss a host activity then explicitly calling getActivity() finish(). Change-Id: I121fb63d2d57c6c4b22abac2389d5c3d5ccad6e4
* DownloadProvider: Still display as downloading after download failedkaiyiz2014-08-261-2/+31
| | | | | | | | | | | | | When the remaining space is less than 10% of the total space, download will fail, but it still display as downloading in status bar after failed in "Downloads" app. Check error status about downloads. If error exists, will update icon , content title and content text in notification. CRs-Fixed: 636489 Change-Id: I5554ef3d1505642c5cd847bd3d2e25a29772dc0d
* DownloadProvider: add to support download into sdcard storageqqzhou2014-08-264-16/+66
| | | | | | | | | | When insert into downloads database to start a new download, will check file uri destination is valid or not, currently it only support phone storage downloading, what we do is to add supporting sdcard storage downloading, this will make download save path setting feature work well. Change-Id: I7995ae63ec5769103d7ad66bcd677e383ef7f440
* DownloadProvider: fix the crash when rotate screen.kaiyiz2014-08-261-2/+6
| | | | | | | | | | | | TrampolineActivity will be recreated when rotate screen, then the fragment is currently associated with any Activity. So getActivity() will return a null and caused NullPointerException. Add the null check before call finish(). CRs-Fixed: 640914 Change-Id: I76f368a597552e824d533b6a66ea23fad4c0cb41
* Automatic translation importcm-11.0-XNPH44S-bacon-5fa8c79c0bMichael Bestas2014-08-2384-85/+120
| | | | Change-Id: I11a38c96da37dd0590fd85132ed0905aa0309d39
* Automatic translation importMichael Bestas2014-08-094-3/+54
| | | | Change-Id: Ieb2c9ccda329845dc2b3e50b83a261d84a7708df
* Automatic translation importMichael Bestas2014-07-248-2/+208
| | | | Change-Id: Ia346b4163a0b0529e76db4350f228da6ccbd12fe
* Automatic translation importMichael Bestas2014-07-112-0/+35
| | | | Change-Id: I027184cf201ef2b6d9fcb307d38f534ccdbc1ba9
* Automatic translation importcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505aMichael Bestas2014-06-302-0/+14
| | | | Change-Id: If40038d134c515db32762b0c00db65e588a43770
* Automatic translation importMichael Bestas2014-06-244-0/+75
| | | | Change-Id: If87eb7430a8273e959854e70f5adb43c75d7bae8
* Automatic translation importMichael Bestas2014-06-212-0/+59
| | | | Change-Id: I4bc106e6b58e6c9a7d535853a9b6982498db17a6
* Merge tag 'android-4.4.3_r1' into HEADRicardo Cerqueira2014-06-034-38/+38
|\ | | | | | | Android 4.4.3 release 1
| * Import translations. DO NOT MERGEBaligh Uddin2014-02-201-1/+1
| | | | | | | | | | Change-Id: Ic24ce6a6b18e3c7e5adcc4f75beea818b33b3629 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2014-01-063-36/+36
| | | | | | | | | | Change-Id: Ie4bcb30ee912d1b7486470d8849bde142c461d3b Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2013-12-261-1/+1
| | | | | | | | | | Change-Id: Ib82d39385a5966f41daa15c9f9a7026e71030221 Auto-generated-cl: translation import
* | Automatic translation importMichael Bestas2014-05-301-0/+3
| | | | | | | | Change-Id: Ie82c829ef629e2bb978cb03cd7d2fd1101299e64
* | Automatic translation importcm-11.0-XNPH25R-bacon-d22b777afacm-11.0-XNPH22R-bacon-03d77315eaMichael Bestas2014-05-255-3/+112
| | | | | | | | Change-Id: Ib7049fea2926c61187d915adfddfc87c362e73a4
* | Automatic translation importMichael Bestas2014-05-214-0/+155
| | | | | | | | Change-Id: I349dab94b12ba0bbd02a433bcbc92a4e1c6d48bf
* | Automatic translation importMichael Bestas2014-05-2121-0/+422
| | | | | | | | Change-Id: I5d66d07ff7826979e6b27dd5e83acf3f3f9f2c44
* | Avoid leaking cursorsMattias Nilsson2014-05-121-20/+30
| | | | | | | | | | | | | | Adding try/finally blocks to make sure that cursor resources are let go Change-Id: I596074aa9ab5752f91a26b5a03e1f39c23c64a5f
* | Automatic translation importMichael Bestas2014-05-0950-31/+770
| | | | | | | | Change-Id: Ia7a31ee88626ea019884a943749b256dd668d281
* | Add Download Speeds in notificationLasse Brudeskar Vikås2014-05-043-7/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the ability to show the current total download speed Screenshots: http://goo.gl/M3eRNR ps7 : remove download site, and make speed to bit/sec ps8 : make speed to byte/sec and cleanup ps9 : revert to B/sec ps10: fix some formatting issues ps13: rebased Change-Id: I801dbe61c7ee59d0c1d14d5851ad6dc3a7678499
* | DownloadProvider: add to support pause/resume download by manualqqzhou2014-05-0311-12/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature contains below points: 1. add to pause running download by manual. 2. add to resume manuallly paused download by manual. 3. add to show proper contents in notification and download-list for manually paused status. 4. add to support download breakpoint continuing when HTTP server doesn't contain etag in response header. Android baseline only supports this when etag is not null. 5. add to show proper contents in notification and download-list for status of waiting-for-network. Change-Id: I433cdee2de8b3add0248bbb0a9d02f8da4e5bb38
* | Automatic translation importMichael Bestas2014-04-254-0/+84
| | | | | | | | Change-Id: I0659046642364201c9b3fb8122c711eed830cb52