- 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
-
- 18 Feb, 2016 9 commits
-
-
Jeff Sharkey authored
am: 38e585c6 -s ours * commit '38e585c6': DO NOT MERGE. Use resolved path when inserting and deleting.
-
Jeff Sharkey authored
am: 725e5f17 * commit '725e5f17': DO NOT MERGE. Use resolved path when inserting and deleting.
-
Jeff Sharkey authored
am: dee8c810 * commit 'dee8c810': DO NOT MERGE. Use resolved path when inserting and deleting.
-
Jeff Sharkey authored
am: 0a60a939 * commit '0a60a939': DO NOT MERGE. Use resolved path when inserting and deleting.
-
Jeff Sharkey authored
am: 102cab3e -s ours * commit '102cab3e': DO NOT MERGE. Use resolved path when inserting and deleting.
-
Jeff Sharkey authored
am: ebb842e0 * commit 'ebb842e0': DO NOT MERGE. Use resolved path when inserting and deleting.
-
Jeff Sharkey authored
am: 600d3afc * commit '600d3afc': DO NOT MERGE. Use resolved path when inserting and deleting.
-
Jeff Sharkey authored
- 16 Feb, 2016 3 commits
-
-
Jeff Sharkey authored
This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I03b06b746fde5d08d6b61a7011bdace0b4e9fa77
-
Jeff Sharkey authored
This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I40ed6d2298e4b66b4f7a055e68d9820515adf351
-
Jeff Sharkey authored
This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: Ia58425ab71c1472dd2f2dd31dae000ca29d0bcb2
-
- 09 Feb, 2016 1 commit
-
-
Jeff Sharkey authored
This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I5e1a2343d631109c21a4c5b2d8d00b2946756680
-
- 08 Feb, 2016 1 commit
-
-
Geoff Mendal authored
Change-Id: I35e75084e916075407d7165b852db6ffe4adb74b Auto-generated-cl: translation import
-
- 03 Feb, 2016 4 commits
-
-
Geoff Mendal authored
Change-Id: I276e0dbc146c36d68742072d751c065b6615b457 Auto-generated-cl: translation import
-
Tomasz Mikolajewski authored
-
Tomasz Mikolajewski authored
Change-Id: I551f830637e023f810a08ba549ecbb7f717b4e9c
-
Tomasz Mikolajewski authored
-
- 02 Feb, 2016 8 commits
-
-
Geoff Mendal authored
am: b5d459ab -s ours * commit 'b5d459ab': Import translations. DO NOT MERGE
-
Geoff Mendal authored
am: a829521e -s ours * commit 'a829521e': Import translations. DO NOT MERGE
-
Geoff Mendal authored
am: dcd74a8a -s ours * commit 'dcd74a8a': Import translations. DO NOT MERGE
-
Geoff Mendal authored
am: 8a199896 -s ours * commit '8a199896': Import translations. DO NOT MERGE
-
Geoff Mendal authored
-
Geoff Mendal authored
am: b24f46b8 -s ours * commit 'b24f46b8': Import translations. DO NOT MERGE
-
Geoff Mendal authored
Change-Id: I00e3bb8163e5dc0ef484496fcd5026c2f5122e7a Auto-generated-cl: translation import
-
Geoff Mendal authored
Change-Id: Ic69e043ba8a8756f71991581aba324840807242e Auto-generated-cl: translation import
-