- 25 Jun, 2016 1 commit
-
-
Jeff Sharkey authored
When deciding to kick off a media scan of a newly-downloaded file, use the latest values from InfoDelta, instead of stale values from the last database read, which may lead us to skip the scan. Bug: 29234780 Change-Id: I7ffbcdd1edb9965999b7f5f100f57a9c2933f3a5
-
- 22 Jun, 2016 2 commits
-
-
Jeff Sharkey authored
When a download is stopped due to a metered network, we should reschedule the job just like any other network failure. If a download requires an unmetered network, treat WAITING_FOR_NETWORK as QUEUED_FOR_WIFI so we show a meaningful notification. Bug: 29440531 Change-Id: I31e6535c575fd32e2982ef840ae501acf1db3927
-
Jeff Sharkey authored
When inserting an already-completed download, we don't schedule a job, leaving notifications stale until the next real download comes along. This change kicks off a notification update pass in these cases to ensure we reflect the internal state. Bug: 29548026 Change-Id: I6ff87d69d83c265738d5e035197204bbb63cfa81
-
- 20 Jun, 2016 1 commit
-
-
Chad Brubaker authored
Bug:29505888 Change-Id: Ifc33fd75e44d1dbc5a4ce5caa8e1ff938b94623e
-
- 08 Jun, 2016 1 commit
-
-
Baligh Uddin authored
Auto-generated-cl: translation import Bug: 29169863 Change-Id: I09904dcd600f9abb31e57857c603af53ac3d710e
-
- 03 Jun, 2016 1 commit
-
-
Bill Yi authored
Change-Id: I0af9c77f30ac97457c5fa029ffa9138b1e8a3c6d Auto-generated-cl: translation import
-
- 26 May, 2016 1 commit
-
-
Jeff Sharkey authored
Otherwise it's confusing to see notifications for downloads that are otherwise invisible. Bug: 28623639 Change-Id: I1b2aeccfcca1369f66c56c441dfef68ee95c6d62
-
- 23 May, 2016 1 commit
-
-
Bill Yi authored
Change-Id: I20691844173d81874c3220b1813f4b8726f3e58d Auto-generated-cl: translation import
-
- 21 May, 2016 1 commit
-
-
Baligh Uddin authored
Auto-generated-cl: translation import Bug: 28857042 Change-Id: I57cd87a88242f29ec5038bf53cc74f4b0e6279ba
-
- 18 May, 2016 1 commit
-
-
Baligh Uddin authored
-
- 16 May, 2016 2 commits
-
-
Felipe Leme authored
BUG: 28743623 Change-Id: I314febe06e5516dfa69062da691e0189b051dac5
-
Baligh Uddin authored
Change-Id: I7f86c0526a2ec3ce85affb5f6cca26c56eb34647 Auto-generated-cl: translation import
-
- 13 May, 2016 1 commit
-
-
TreeHugger Robot authored
-
- 11 May, 2016 1 commit
-
-
Tomasz Mikolajewski authored
-
- 10 May, 2016 1 commit
-
-
Felipe Leme authored
BUG: 28521946 Change-Id: I32129977c121b610bdd1a780fd371baaff3ead4b
-
- 09 May, 2016 2 commits
-
-
Jeff Sharkey authored
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
-
Tomasz Mikolajewski authored
Bug: 28476442 Change-Id: I12a35a2c35c16ddf899637dfb85c30006c169fd7
-
- 06 May, 2016 1 commit
-
-
TreeHugger Robot authored
-
- 04 May, 2016 1 commit
-
-
Baligh Uddin authored
Auto-generated-cl: translation import Bug: 28463229 Change-Id: If9046aa28360250cc5d2a5e646a10d2a7b666d43
-
- 03 May, 2016 2 commits
-
-
Baligh Uddin authored
-
Felipe Leme authored
BUG: 28521946 Change-Id: I31658e680e67da9e1a420a9749a67949cfe09689
-
- 02 May, 2016 2 commits
-
-
Ben Lin authored
-
Baligh Uddin authored
Change-Id: I301fec6e93b48872a5031117de97e64de88df93d Auto-generated-cl: translation import
-
- 29 Apr, 2016 2 commits
-
-
Ben Lin authored
Bug: 28359663 Change-Id: Id74ab041717f553bbd81ab2f69b1b8fa0d4d230d
-
Jeff Sharkey authored
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
-
- 27 Apr, 2016 1 commit
-
-
Bill Yi authored
Change-Id: Ic740947008131405afb202b6217b12d178896888 Auto-generated-cl: translation import
-
- 25 Apr, 2016 1 commit
-
-
Jeff Sharkey authored
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
-
- 20 Apr, 2016 1 commit
-
-
TreeHugger Robot authored
-
- 19 Apr, 2016 2 commits
-
-
Felipe Leme authored
BUG: 27481520 Change-Id: I84db23b62f60dadefc01ead78f13ed689943baad
-
Narayan Kamath authored
Use parseInt when the result is assigned to an int. Allocates fewer objects. bug: 28078871 Change-Id: I2c58112795fecce6395c558f2bb1e1fefe83a5bf
-
- 08 Apr, 2016 1 commit
-
-
Robin Lee authored
Bug: 27074270 Change-Id: I7145fcdf0c8af0f0c299ca491f01eaef6204e2cb
-
- 07 Apr, 2016 2 commits
- 04 Apr, 2016 1 commit
-
-
Jeff Sharkey authored
Bug: 27971263 Change-Id: Ia68d43828ecc32c1b6a656a0d3bb751b2a2e7881
-
- 31 Mar, 2016 1 commit
-
-
Jeff Sharkey authored
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
-
- 24 Mar, 2016 1 commit
-
-
Md Haque authored
Change-Id: I9b2711c2a9b3edd4bbef97ff6cdcae9fdc9ef433
-
- 21 Mar, 2016 1 commit
-
-
Jeff Sharkey authored
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
-
- 19 Mar, 2016 1 commit
-
-
Geoff Mendal authored
Change-Id: I01c4bc11d7a9723a5017aed032d8f8eefe5d4254 Auto-generated-cl: translation import
-
- 15 Mar, 2016 1 commit
-
-
Steve McKay authored
Bug: 27526321 Change-Id: Ic29bc235242a8b87ab8321ee201cb7918594366f
-
- 10 Mar, 2016 1 commit
-
-
Steve McKay authored
And the intent filter for "BROWSE_DOWNLOADS". Bug: 27563427 Change-Id: I22e8cbbd49c9d2317146d18d90b15549dadfc69f
-