| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This reverts commit 8be3a92eb0b4105a9ed748be5a937ce79145f565.
Change-Id: I10401d57239b868f8e3514f81a0e20486838e29c
(cherry picked from commit b440ceb00fd46c9233723066c680a538067fbf82)
|
|
|
|
|
|
|
|
|
|
| |
When opening a downloaded file, enforce that the caller can actually
see the requested download before clearing their identity to read
internal columns.
Bug: 30537115
Change-Id: I01bbad7997e5e908bfb19f5d576860a24f59f295
(cherry picked from commit 8be3a92eb0b4105a9ed748be5a937ce79145f565)
|
|
|
|
|
|
|
|
| |
This avoids a race condition where someone can change a symlink
target after the security checks have passed.
Bug: 26211054
Change-Id: Ia58425ab71c1472dd2f2dd31dae000ca29d0bcb2
|
|
|
|
|
|
|
|
| |
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: Id642601b72d6a4465d2b7f282bd4e08108379ce7
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I282fe4e34de9161e16c4c64894f720bda53642f9
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: Ibe6acc8f559ed63b2aa447f0004affddba21eca7
Auto-generated-cl: translation import
|
|\
| |
| |
| |
| | |
* commit '346190f357128d3d4171494713546da773277d3b':
Add RTL flag to DownloadProvider.
|
| |
| |
| |
| |
| | |
Bug: 23410732
Change-Id: Iae4628bb56c17140da32d40e9c425d9f85a9a920
|
|\|
| |
| |
| |
| | |
* commit '8b2880ba6d192c4dd66516541ed931a84e6d8a9a':
Give secondary users read-only physical cards.
|
| |
| |
| |
| |
| |
| |
| | |
Follow method refactoring so we only consider writable locations.
Bug: 22787184
Change-Id: Ib8b037216d23ab474d7e0df427671d174eaf030a
|
|\|
| |
| |
| |
| | |
* commit 'b8bc2a76ddaa0c59d681913dba10fd7ec0a2a22b':
Switch to proxy variants of app-ops calls.
|
| |
| |
| |
| |
| | |
Bug: 22718722
Change-Id: I9c054956c3b3655332475607d6919dc34515e550
|
|\|
| |
| |
| |
| | |
* commit 'e6841c13b2fc246d34d2645151056e3e347523a8':
Import translations. DO NOT MERGE
|
| |
| |
| |
| |
| | |
Change-Id: I4ccf722a3452199e4d97a47fff05ff7b0077d422
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit 'ed30deae5fe5b9de142b44933001c9b098c47712':
Relax permissions on package-specific paths.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Normally apps must hold the WRITE_EXTERNAL_STORAGE permission in
order to use DownloadManager. However, now that the platform has
relaxed permissions on package-specific directories, we relax the
DownloadManager check in a similar way. This also opens up using
DownloadManager to save files on secondary external storage devices.
Fix bug so that we now check the relevant volume state when thinking
about resuming a download.
Bug: 22135060
Change-Id: If439340ea48789ea167f49709b5b69a4f0883150
|
|/
|
|
|
| |
Change-Id: I4903c3288b6dc807cc7814bfd478e230f87cc6bb
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
|
| |
TrampolineActivity was trying to show a dialog with Theme.NoDisplay.
Changed to Theme.Translucent.NoTitleBar.
Bug 20146947
Change-Id: Iab75d18ccfc35053f0a1d485583d0d15c5b2d351
|
|
|
|
|
|
|
|
|
|
| |
The onCreate() method [where we initialize the handler] runs on the
main thread. This means the ParcelFileDescriptor also runs tasks
involving disk access on the main thread. We need to create a
separate thread to run the Content Provider's handler.
Bug: 19718299
Change-Id: Ia3661fafd3442ad6260f04253ba24ddf83b176b2
|
|
|
|
|
|
|
| |
Otherwise they're orphaned until the next idle maintenance pass.
Bug: 21786983
Change-Id: I6eb2240d657366b65482bd3a0d5683e5d34a541a
|
|
|
|
|
|
|
|
|
| |
JobScheduler.getAllPendingJobs() can return null when there are none.
Deal with it.
Bug 21642868
Change-Id: I11fcc6e146f9db51e03dcf57f7518bb7878fbd28
|
|
|
|
|
| |
Change-Id: I63b0dc11b38c1ae5dda3df7dcda560eb69990315
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: Icef1a6fecbfcf2537e9c3277d454d2307ea08ba2
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
|
|
| |
Use the newly factored FileUtils sanitize the requested display names to
be valid FAT filenames, and also allow any extension that maps to the
requested MIME type.
BUG=20157955
Change-Id: Ic37863a3362a941d81632bd4a7562dae40053652
|
|
|
|
|
| |
Change-Id: I6586b3adc94218ae560efe68338eb137aa6cd742
Auto-generated-cl: translation import
|
|
|
|
|
|
|
| |
DownloadProvider offers downloading over HTTP and HTTPS.
Bug: 19215516
Change-Id: I4f0583fd0b00842892a5229f1a87c7af53c5abe4
|
|\
| |
| |
| |
| |
| |
| | |
traffic policy."
* commit '5332ab3e035389445ff9351a34c1d7c94fefa318':
Make DownloadProvider honor the cleartext traffic policy.
|
| |\
| | |
| | |
| | |
| | | |
* commit '65d94cee4a6d4d5f9bc887a89f46eaf9d2570ad9':
Make DownloadProvider honor the cleartext traffic policy.
|
| | |\ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes the Provider-side of the DownloadManager framework honor
the per-UID cleartext network traffic policy. The policy is enforced
in the Provider rather than in its client (DownloadManager) because
download URLs could get redirected between HTTPS and HTTP and only
the Provider currently has visibility into and control over this.
Whether cleartext network traffic is permitted is a per-package
policy. However, the DownloadProvider can only access the UID of the
requesting application. Multiple packages can run under the same UID.
In that scenario, cleartext traffic is permited for the UID if
cleartext traffic is permitted for any of the packages running under
the UID. This could be improved by making the DownloadManager provide
the package name in addition to the UID.
Bug: 19215516
Change-Id: Ib37585a7a2fc2869954d52a1b08052926f49bc9b
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia082b51eacfe95e4cfad095de71369035744c3d5
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0e8fd3069bff048448055d1bb80862afa9415f11
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I6ee3f2e8abbd7b1b4b7d217e362a1d65b5c8daa4
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifd21e5b624206c24c76a65ccaab6486acd05a3bf
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | | |
* commit '82f69f42c87b6868fd5398e72f12685a84f66faf':
Import translations. DO NOT MERGE
|
| |\|
| | |
| | |
| | |
| | | |
* commit '5e116a6d63b4f5060041adeeb1bdc2b0585266cd':
Import translations. DO NOT MERGE
|
| |/
| |
| |
| |
| | |
Change-Id: Id2255cf5429382da0169e8a98b4bc7a613fc046b
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '590ccb96d0bd46014ce6767c5b0a8ef7109a8274':
Import translations. DO NOT MERGE
|
| |\
| | |
| | |
| | |
| | | |
* commit 'c7c23071be84c8df58cc59a9597ae84af5cac026':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I5f4b68932cc08ca445a573449eb1259afd1e1c96
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
after powering on the phone
* commit '5d53e8dfdc77be8bd5665a7eec053a0dcdf0b7c8':
Can not continue to download after powering on the phone
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
the phone
* commit '35558a84c1f211005091f3e3b622631d8a21023b':
Can not continue to download after powering on the phone
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit 'f3679d0367cd8a0e72875800decf9f63033645a0':
Can not continue to download after powering on the phone
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I71b49ea8b3f497f568ac327c5092a616c0da794f
Auto-generated-cl: translation import
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ib1ebd29334a22947d71f4f6784fad17847e4fe5b
Auto-generated-cl: translation import
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '2c8cddfdd905857643876e5b724ff188e7398ef2':
Use FileUtils to validate FAT filenames.
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '36957351d75fd52ae0eb1eb94764ad472d3afd4f':
Use FileUtils to validate FAT filenames.
|
| | |\|
| | | |
| | | |
| | | |
| | | | |
* commit '1bb7a08a3df915e84647bc8a5ca87cc157378e61':
Use FileUtils to validate FAT filenames.
|