| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When opening a downloaded file, enforce that the caller can actually
see the requested download before clearing their identity to read
internal columns.
However, this means that we can no longer return the "my_downloads"
paths: if those Uris were shared beyond the app that requested the
download, access would be denied. Instead, we need to switch to
using "all_downloads" Uris so that permission grants can be issued
to third-party viewer apps.
Since an app requesting a download doesn't normally have permission
to "all_downloads" paths, we issue narrow grants toward the owner of
each download, both at device boot and when new downloads are
started.
CYNGNOS-3303
Bug: 30537115, 30945409
Change-Id: If944aada020878a91c363963728d0da9f6fae3ea
(cherry picked from commit 7c1af8c62c8bdf6e8de5a00c1927daf9fd9c03d1)
(cherry picked from commit 2e51b3279a3b1e7cbd467c81bfe09b431b248cab)
|
|
|
|
|
| |
Change-Id: I0655a89bf6c1cfa50d968c0a46da13dda317e00e
Ticket: RM-154
|
|\
| |
| |
| |
| | |
Ticket: CYNGNOS-2213
Android 5.1.1 release 37
|
| |
| |
| |
| |
| |
| |
| |
| | |
This avoids a race condition where someone can change a symlink
target after the security checks have passed.
Bug: 26211054
Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb
|
| |
| |
| |
| |
| | |
Change-Id: Iddc876bc92ae94a1fd6f07fbb69a7ffd1d8631ca
CYNGNOS-264
|
| |
| |
| |
| |
| |
| | |
CYNGNOS-264
Change-Id: Ic7a2e14bb9fd93e11b16183f14b9b4f16addfe94
(cherry picked from commit 5d870ac1af8c3fefd7d3f3833623e63cef171d33)
|
| |
| |
| |
| |
| |
| | |
CYNGNOS-264
Change-Id: I28677ad5e12c75cba28eba70eccb6535023f100b
(cherry picked from commit 4bf24133e6944ce9a48afb96b81fad2c1847af5b)
|
| |
| |
| |
| |
| |
| | |
CYNGNOS-264
Change-Id: Ib3be1b0b5b4bc460d526747263722e6e7215ac70
(cherry picked from commit 4d944367d63c9dfd3a45924b99defc86c10a670d)
|
| |
| |
| |
| |
| |
| |
| |
| | |
This addresses the issue where if a download is enqueued and right after
deleted, the notification doesn't stick around.
Change-Id: Ie1ec08fc94420b0f46e1543ed52afd8c22aee372
(cherry picked from commit 794ab54677c50bac5c0f32bc5d9ad768ff10c039)
|
| |
| |
| |
| |
| | |
Change-Id: I3e4a9a9475a9e03d7a22ae46344622ea5d41b947
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| | |
Change-Id: I03360e060e5ac23729b5ed9f7d014901731239ab
|
| |
| |
| |
| | |
Change-Id: I502c6fa59babc5bb244a5c83a9f4806b29054c2c
|
| |
| |
| |
| | |
Change-Id: I4872b638611da4b45546a8a1c83a6744d2c76477
|
| |
| |
| |
| | |
Change-Id: I370caafc85cdcc0572c957f3c8d5fc227bd6909e
|
| |
| |
| |
| | |
Change-Id: Iaff268dcb9907a46702dfeaf106c0263a15e31d1
|
| |
| |
| |
| | |
Change-Id: I78657e7160bf1ca60271984d56344a588ffbf0ae
|
| |
| |
| |
| | |
Change-Id: Ibbc67e28ce7e312fc66deb7b60f9e69716f14524
|
| |
| |
| |
| | |
Change-Id: I15637e50c23af7f4e60a791983923ae65329cb66
|
| |
| |
| |
| | |
Change-Id: Ib0d03cb90567d7ac6123c2c97be226ef65859ca7
|
|\|
| |
| |
| | |
Android 5.1.0 release 1
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that we're defeating connection reuse, we have one additional
type of response where the length is known.
Bug: 18306491
Change-Id: I19657c565238f07fd89a55a5dbf1e85748f6e7c3
|
| | | |\ |
|
| | | | |\
| | | | |/
| | | |/| |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1. Launch chrome and open www.baidu.com -> Choose "software"
in the site navigation -> Tap "games" option, choose one apk
to download -> During downloading, power off the phone -> Power
on the phone and check, it can't continue to download apk.
The fix is to add one condition for retrying to download when
IO exception happens (i.e. Failed to open for writing:
java.io.FileNotFoundException).
Bug 18834618
Review: https://partner-android-review.git.corp.google.com/#/c/193436
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
Change-Id: I2f975ff7ffedfc4136fb250dcb5ef8fdca4a367d
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 18512473
Change-Id: I686c7c3487f789dc0437513fbc6fed54dc62721f
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Now that we're defeating connection reuse, we have one additional
type of response where the length is known.
Bug: 18306491
Change-Id: I19657c565238f07fd89a55a5dbf1e85748f6e7c3
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise servers may continue streaming large downloads into the
kept-alive socket. This changes to always close the socket, sending
a clear signal to server.
Bug: 16153076
Change-Id: I3e7fefce4f82b5f80abaab58874cc4c4374d2bfb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some cases the provider may have marked a download as deleted,
but the content change notification may lag several seconds. To stop
as soon as possible, assert that we're not deleted when writing
our progress updates.
Bug: 16405936
Change-Id: I994b746056d0427c626355e0815234ff5b73198c
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 18083851
(cherry pick from commit f1cd37d8bade42be0632f54dcd61f81711269606)
Change-Id: I93f14e171abc7a52fe2117c8503374734147513b
|
| |
| |
| |
| |
| | |
Change-Id: Ib845cd731b8a0096914cf59a737af13291a2490c
Auto-generated-cl: translation import
|
| |\
| | |
| | |
| | |
| | | |
* commit '64cb0d20fdd097b73cab76add01787c590aefefa':
Import translations. DO NOT MERGE
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit '7460b6e0abad953fc8946296fa3f11bc4b1b60c6':
Import translations. DO NOT MERGE
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '3ee03ac36f0f849b78936cf18972fe2f24a61722':
Trim stale downloads from third-party apps.
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'e24609e8f2aada5cb8ac1c3e93141b260e201efe':
Trim stale downloads from third-party apps.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I74466a8344827f06133073b4802b6fbdaad9934d
Auto-generated-cl: translation import
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 15476051
Change-Id: I085c074f1bb66631872712cab68bcaf6ee7ba7dc
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '53c492358a2fabc1189c43d573602b21a38ce33b':
Materialize some shadows!
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'e8175658d3a16a3fd8c60a9c6760268e74d0b81f':
Materialize some shadows!
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '890cfb8aa369ab5feb4f598d569a71e69ea28e50':
Import translations. DO NOT MERGE
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'eb140c18d92779ebfe909d3e331707697afb91f8':
Import translations. DO NOT MERGE
|
| |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'f4b1e9c83db5c09c238c04000c34e0e397a74f18':
Import translations. DO NOT MERGE
|
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '09128d0adc82fc4a5ffd6fdab18e0c5b69a78cbb':
Import translations. DO NOT MERGE
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I9cdf7fc7d930fe995b65382f679c6b8f402127f8
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: If2c3e5eb6397c3c3b71899a66889626ffcb0d4e7
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I94b07168d96ecab56b3135849ff7050642644723
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Ifb75fc8a09a71260b48ca1e32908fc80f34511cf
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
Conflicts:
res/values/cm_strings.xml
src/com/android/providers/downloads/DownloadNotifier.java
Change-Id: I801dbe61c7ee59d0c1d14d5851ad6dc3a7678499
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | |
| | | | | | | |
7460b6e0abad953fc8946296fa3f11bc4b1b60c6
|