| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
BUG: 28743623
Change-Id: I314febe06e5516dfa69062da691e0189b051dac5
|
|\ |
|
| |
| |
| |
| |
| |
| | |
BUG: 28521946
Change-Id: I32129977c121b610bdd1a780fd371baaff3ead4b
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 28476442
Change-Id: I12a35a2c35c16ddf899637dfb85c30006c169fd7
|
|/
|
|
|
|
|
|
|
|
| |
The recent JobScheduler rewrite means we no longer spin up a service
when insterting an already-completed download. However, the calling
app may have requested the download to be scanned, so kick off a
scan request for them.
Bug: 28659693
Change-Id: I497e10995ba04f1522fe8d7e547ebea6e305f6e9
|
|\ |
|
| |
| |
| |
| |
| | |
BUG: 28521946
Change-Id: I31658e680e67da9e1a420a9749a67949cfe09689
|
| |
| |
| |
| |
| |
| |
| | |
Auto-generated-cl: translation import
Bug: 28463229
Change-Id: If9046aa28360250cc5d2a5e646a10d2a7b666d43
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Change-Id: I301fec6e93b48872a5031117de97e64de88df93d
Auto-generated-cl: translation import
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 28359663
Change-Id: Id74ab041717f553bbd81ab2f69b1b8fa0d4d230d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Downloads with visible notifications should behave as if the
requesting app was running a foreground service. The easiest way
to implement this for now is to ignore any BLOCKED network status
and use the new setWillBeForeground() API so job scheduling ignores
any active blocked/dozing status.
Bug: 26571724
Change-Id: I8ea2b2a7cdb5f469adc11b4d897ff55bd8a9db9a
|
|/
|
|
|
| |
Change-Id: Ic740947008131405afb202b6217b12d178896888
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JobScheduler is in a much better position to coordinate tasks across
the platform to optimize battery and RAM usage. This change removes
a bunch of manual scheduling logic by representing each download as
a separate job with relevant scheduling constraints. Requested
network types, retry backoff timing, and newly added charging and
idle constraints are plumbed through as job parameters.
When a job times out, we halt the download and schedule it to resume
later. The majority of downloads should have ETag values to enable
resuming like this.
Remove local wakelocks, since the platform now acquires and blames
our jobs on the requesting app.
When an active download is pushing updates to the database, check for
both paused and cancelled state to quickly halt an ongoing download.
Shift DownloadNotifier to update directly based on a Cursor, since we
no longer have the overhead of fully-parsed DownloadInfo objects.
Unify a handful of worker threads into a single shared thread.
Remove legacy "large download" activity that was thrown in the face
of the user; the UX best-practice is to go through notification, and
update that dialog to let the user override and continue if under
the hard limit.
Bug: 28098882, 26571724
Change-Id: I33ebe59b3c2ea9c89ec526f70b1950c734abc4a7
|
|\ |
|
| |
| |
| |
| |
| | |
BUG: 27481520
Change-Id: I84db23b62f60dadefc01ead78f13ed689943baad
|
|/
|
|
|
|
|
|
| |
Use parseInt when the result is assigned to an int. Allocates fewer
objects.
bug: 28078871
Change-Id: I2c58112795fecce6395c558f2bb1e1fefe83a5bf
|
|
|
|
|
| |
Bug: 27074270
Change-Id: I7145fcdf0c8af0f0c299ca491f01eaef6204e2cb
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Downloads should use the default network for the caller. This prevents
applications from, for example, bypassing VPN by routing all requests
through the DownloadProvider.
Bug: 27074270
Change-Id: I7830226dd2910757d3a5c78f373330f84637ccfa
|
| |
| |
| |
| |
| | |
Bug: 27971263
Change-Id: Ia68d43828ecc32c1b6a656a0d3bb751b2a2e7881
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When service starts, use new API to read the current set of
notification tags from the system instead of clearing and starting
from scratch.
Bug: 27634130
Change-Id: I049fe5e445a62a52042d7638c2cb50417977435f
|
|/
|
|
| |
Change-Id: I9b2711c2a9b3edd4bbef97ff6cdcae9fdc9ef433
|
|
|
|
|
|
|
|
|
|
| |
Now that PackageInstaller can read APKs from content:// Uris, we
don't need to make downloads world-readable. This is mostly just
cleanup, since our top-level private data directory is no longer
o+x, so other apps can't traverse in anyway.
Bug: 5464052
Change-Id: I45de6a40c28b85c64d5afbc13068fe3ae8341d93
|
|
|
|
|
| |
Change-Id: I01c4bc11d7a9723a5017aed032d8f8eefe5d4254
Auto-generated-cl: translation import
|
|
|
|
|
| |
Bug: 27526321
Change-Id: Ic29bc235242a8b87ab8321ee201cb7918594366f
|
|
|
|
|
|
|
| |
And the intent filter for "BROWSE_DOWNLOADS".
Bug: 27563427
Change-Id: I22e8cbbd49c9d2317146d18d90b15549dadfc69f
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
am: 0a60a939e0 am: 725e5f177d
am: c331875759 -s ours
* commit 'c3318757591bff1c92bf547c9cdb9d76a17fe107':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: 0a60a939e0
am: 725e5f177d
* commit '725e5f177d75a37e7ed5b27a99405d1b5fa479dd':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 0a60a939e0
* commit '0a60a939e00a386f65a48288d8d9a4c7213e2707':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: ebb842e081
* commit 'ebb842e081f2d9eddbeddb9447631fd81e8961b9':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This avoids a race condition where someone can change a symlink
target after the security checks have passed.
Bug: 26211054
Change-Id: I40ed6d2298e4b66b4f7a055e68d9820515adf351
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: dee8c810c8
am: 38e585c615 -s ours
* commit '38e585c61518c5a9a08c9288ca15f97fdd9339d6':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: dee8c810c8
* commit 'dee8c810c8edbb90e43db69a4ed1b7d2ee375d07':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 600d3afcc3
* commit '600d3afcc3cbe2a9c3f44eda66bec806709c20e8':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This avoids a race condition where someone can change a symlink
target after the security checks have passed.
Bug: 26211054
Change-Id: Ia58425ab71c1472dd2f2dd31dae000ca29d0bcb2
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
mnc-dr1.5-dev
am: 102cab3e7d -s ours
* commit '102cab3e7deee3392a4d4bf818fabc527db0a222':
DO NOT MERGE. Use resolved path when inserting and deleting.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
mnc-dr1.5-dev
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This avoids a race condition where someone can change a symlink
target after the security checks have passed.
Bug: 26211054
Change-Id: I03b06b746fde5d08d6b61a7011bdace0b4e9fa77
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This avoids a race condition where someone can change a symlink
target after the security checks have passed.
Bug: 26211054
Change-Id: I5e1a2343d631109c21a4c5b2d8d00b2946756680
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I35e75084e916075407d7165b852db6ffe4adb74b
Auto-generated-cl: translation import
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I276e0dbc146c36d68742072d751c065b6615b457
Auto-generated-cl: translation import
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I551f830637e023f810a08ba549ecbb7f717b4e9c
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The logic for manage/non-manage UI is moved to DocumentsUI.
Bug: 26321218
Change-Id: I1c9d24bdee493d31fe3bcea2eed877529bc1c32a
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
-s ours
am: b5d459abb5 -s ours
* commit 'b5d459abb522571a5feab1da879c93a2e223db18':
Import translations. DO NOT MERGE
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
am: dcd74a8a54 -s ours
* commit 'dcd74a8a549ee25bc4dc9730ba660096e7d88d40':
Import translations. DO NOT MERGE
|