Remove download notification after preview

Removes download notification from the notification bar after
previewing it. There should be an additional check for download
shown in the notifications after completion to prevent from
situation when ContentObserver is unregistered and the onChange
is never called.

Change-Id: I0914a680f08eb96949b56e08719eb28d2e80ccc9
DownloadProvider: Update copyright year

Change-Id: Ia3efa747daadeead622e25544b4ac1d9766bdd80
Initial translation import

Change-Id: I6e4f5e9015c23411bfd5857ceb1b73a9aaa5f6b6
Automatic translation import

Change-Id: I80f612182b9eb5d29bdc9cb315be7b21fdc5dc7f
Automatic translation import

Change-Id: I11b9bd526ddc09a7dc778fd291a0b68aa18d59ac
Automatic translation import

Change-Id: I0659046642364201c9b3fb8122c711eed830cb52
DownloadProvider: add to support pause/resume download by manual

This feature contains below points:
1. add to pause running download by manual.
2. add to resume manuallly paused download by manual.
3. add to show proper contents in notification and download-list
   for manually paused status.
4. add to support download breakpoint continuing when HTTP server
   doesn't contain etag in response header. Android baseline only
   supports this when etag is not null.
5. add to show proper contents in notification and download-list
   for status of waiting-for-network.

Change-Id: I433cdee2de8b3add0248bbb0a9d02f8da4e5bb38
Add Download Speeds in notification

This commit adds the ability to show the current total download speed

Screenshots: http://goo.gl/M3eRNR

ps7 : remove download site, and make speed to bit/sec
ps8 : make speed to byte/sec and cleanup
ps9 : revert to B/sec
ps10: fix some formatting issues
ps13: rebased

Change-Id: I801dbe61c7ee59d0c1d14d5851ad6dc3a7678499
Automatic translation import

Change-Id: Ia7a31ee88626ea019884a943749b256dd668d281
Avoid leaking cursors

Adding try/finally blocks to make sure that cursor
resources are let go

Change-Id: I596074aa9ab5752f91a26b5a03e1f39c23c64a5f
Automatic translation import

Change-Id: I5d66d07ff7826979e6b27dd5e83acf3f3f9f2c44
Automatic translation import

Change-Id: I349dab94b12ba0bbd02a433bcbc92a4e1c6d48bf
Automatic translation import

Change-Id: Ib7049fea2926c61187d915adfddfc87c362e73a4
Automatic translation import

Change-Id: Ie82c829ef629e2bb978cb03cd7d2fd1101299e64
Revert "Add Download Speeds in notification"

This reverts commit addd919d97a3192c3aa16ebd3fe73abb9faa194b.
Revert "DownloadProvider: add to support pause/resume download by manual"

This reverts commit ded2da137ce7c2c71ded2e6d163217ef95267ebb.
DownloadProvider: Add transfer speeds in notification

This will show transfer speed in notification when in expanded mode.
For multiple files, the combined speed are displayed.

Screenshot: http://i.imgur.com/xqLRvMo.png

PS1: Initial commit
PS2: clean code
     add missing declarations & import

Change-Id: I801dbe61c7ee59d0c1d14d5851ad6dc3a7678499
DownloadNotifier: Normal notification for singles

This builds upon the previous DownloadNotifier, but changes the notification style
when downloading single files by removing the big view.
See this post for more information:
https://plus.google.com/u/0/+Mart%C3%ADndelRosarioOK/posts/hgGcgsFqyp6

PS2: Fixing dependencies
PS3: Removing tabs/whitespace
PS4: Fix missing speed text after last patchset.
PS5: Restore previous change, fix missing time this time.
PS6: Reformat layout

Change-Id: Iaab38d7e7f9de3d9eb3deb5f061ee646b346c7cc
DownloadNotifier: Standardize play store and browser downloads

Image: http://i.imgur.com/w3VaRUK.png

PS1: Initial commit
PS2: Standardize all things!

Change-Id: I5e6c5def7dae10d714fd180693e95bc61205a57b
[2/2] Add to support pause/resume download

User can manually pause current download and resume to continue download remaining data of the file.
add a progressbar to show download progress. (only legacy View)
add pause/resume/stop/retry into notifications
add remaining time into notifications

PSs: Code cleanup.

Change-Id: I7c2c6043bd6e26c4d4b0c74265f87629967302a0