| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Icaba016bc6e098745e56a3b6367a8a6af0151158
|
|\
| |
| |
| |
| | |
* commit '5048492e352be8134d92178d757a60117491e292':
New PendingIntents when extras change.
|
| |
| |
| |
| |
| |
| |
| | |
Otherwise notifications end up launching with stale download IDs.
Bug: 8417220
Change-Id: Ie72a2f4ac7b72213678ac6001af45709034492dd
|
|\|
| |
| |
| |
| | |
* commit 'ff0220f5b4624049a1052bd868d7706eee5a0daf':
Unregister observer when tearing down service.
|
| |
| |
| |
| |
| |
| |
| | |
Also reduce and adjust some logging.
Bug: 8470658
Change-Id: Ia1f1cbd315ded04edd2113506e5c5a1db5ec85b4
|
|\|
| |
| |
| |
| | |
* commit '0f2f63932bd8d963764d37527b3237d219fdaa4d':
Revert "Avoid sending messages after HandlerThread.quit()."
|
| |
| |
| |
| |
| |
| | |
This reverts commit 97d507d95f9885ceb12f2ce2483361b5ed265f9f
Change-Id: I20374301561b3a1c79c2d986292af50049de2aac
|
|\|
| |
| |
| |
| | |
* commit '97d507d95f9885ceb12f2ce2483361b5ed265f9f':
Avoid sending messages after HandlerThread.quit().
|
| |
| |
| |
| |
| | |
Bug: 8470658
Change-Id: I4cfd6a01c2c2d845a72d3f58c29eec8b44176537
|
|\|
| |
| |
| |
| | |
* commit '703bc3a83056a878a83e263b992fb5331b84535f':
Reduce logging, dump stacks before wtf().
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Most wtf() are looking like network timeouts, not threading bugs, so
disable verbose debugging and add more targeted thread logging before
calling wtf().
Bug: 8233041
Change-Id: I8e276bffd7880cfe13b65e7e81f5507cab627692
|
|\|
| |
| |
| |
| |
| |
| | |
item."
* commit '2c462097d100646ec7491b5fd5fa00ae7ff49200':
Add title attribute for menu item.
|
| |\
| | |
| | |
| | |
| | | |
* commit 'a683635084b05b9b03752c6dfedfb749d29080f4':
Add title attribute for menu item.
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit '9f48387a1cf8116b8aba3035fbb1f0aec4cf0861':
Add title attribute for menu item.
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fix is needed to display text instead of a blank rectangle when
user selects the share or delete icons.
Bug: 8418296
Change-Id: Ie21af8600cb19bc652d3677c53bdc05278998612
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '1b5c0091270cdc04054c9a2af33ba4f94d652cff':
Start using MockStreamResponse.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ida4a0a85883ccd6763b07e958ddc6ecf7eedf790
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'a9c9eea93af0aebbdace4ce39acde8085186403e':
Finish RTL work in Downloads.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Clean up some padding, and handle checkbox clicks based on RTL mode.
Bug: 8133419
Change-Id: I9c0f54218eb1c182fbe6f3f4eeb3e83e7ebc6ea9
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
into jb-mr2-dev
* commit '11787c02ad60f681af2cf4ef5d0fbf89efdbc4c2':
Increase timeout for domains with many DNS entries.
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 8233041
Change-Id: Ifb70273474c391ef687ba018d9ef809a359c7149
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'b723f1ae16c62d8e1e50c7bcd63d9b1552dd03cd':
Add title attribute for menu item.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This fix is needed to display text instead of a blank rectangle when
user selects the share or delete icons.
Bug: 8418296
Change-Id: Ie21af8600cb19bc652d3677c53bdc05278998612
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '844782d81e12d8bd13c9b26a5f7aab3f4be81b5a':
Defeat transparent Accept-Encoding: gzip.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Transparent gzip encoding doesn't allow us to easily resume partial
requests, so defeat it for now.
Bug: 8409417
Change-Id: I1172709c09d1153fff1ba8df072a9bef896e244d
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie12c6aedd5024af5642dd67208a24ec5452ecf11
Auto-generated-cl: translation import
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
NOT MERGE. Merge commit \'4602bf9d\' into mergeit
* commit '45f654d03476d9a2493e7fc5f7334bcc0a6c10e3':
Fix large file download failure issue
|
|/| | | |
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
\'4602bf9d\' into mergeit
* commit '07dab9c7689ef85ef6a062f57c38bf4c3a8506bd':
Fix large file download failure issue
|
| |\ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
into mergeit
* commit '21f5f3516e88e1a237be21e0bd4b07c903310cde':
Fix large file download failure issue
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'ed009be9799ddfe554745c8aeb8f2ad47a10945b':
Fix large file download failure issue
|
| | |/| |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic13c1bd2bad0d833dd50c3bf391b127d90436539
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '1c074231df1ddad86cf7db1bed71a249c951ecec':
Fix large file download failure issue
|
| | | | |\ \
| | | | | |/
| | | | |/|
| | | | | |
| | | | | | |
* commit 'af909b55fe1ffa78e69cfda862fd5ebce712ac7a':
Fix large file download failure issue
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The root cause is int overflow as integer can only hold size
Integer.MAX_VALUE = 0x7FFFFFFF. It is about 2G. So, when a file size
is greater than 2G, it throws a "NumberFormatException", and then
mark this download "unsuccessfully".
The progress bar in notification for the large file downloading was
not correct either. The total file size was converted from long to
int value when in builder.setProgress().
Change-Id: Ib038860e26cf8cade2c423403585c207f8b8979b
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When multiple downloads are running in parallel, they can end up
claiming the same filename and clobber over each other. This change
introduces locking around filename generation, and touches the
claimed filename so other threads fail the File.exists() check and
keep looking.
Tests to verify.
Bug: 8255596
Change-Id: Ie75ed047c199cf679832c75159056ca036eac18d
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Otherwise we end up triggering MSG_FINAL_UPDATE while still waiting
for socket timeouts. Using 20 seconds for timeout is more sane, and
matches Volley.
Bug: 8233041
Change-Id: Ia7220033a5942c46ca1d79a88e2b3f530cb3edac
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Streams a 3GB file to verify that it downloads correctly, using new
MockWebServer streaming API.
Bug: 8209169
Change-Id: Ic36271bfef3176e1ccea2b40edc7abb1044222f1
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Otherwise they end up leaking. There is a race around UpdateThread
continuing to process messages before onDestroy() has been invoked,
so explicitly UpdateThread.quit() in both places.
Bug: 8233041
Change-Id: I73f1b70aedace19e23a61a3dddf4986d82f2c7d6
|
|\| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Since DownloadService starts and stops frequently, recycle a single
UpdateThread across invocations.
Bug: 8233041
Change-Id: I07756fb6bfdbad811cbd58e628fdfdbf63d71bf8
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
|/| | | | | | |
|
| |\ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ |
|
| | | |\ \ \ \ \ \ |
|
| | | | |\ \ \ \ \ \ |
|
| | | | | |\ \ \ \ \ \ |
|