| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
PendingIntent.getBroadcast() doesn't update the intent extras if not
explicitly given something to distinguish the intents. This caused the
notification on-click to do nothing on everything but the first
download.
Change-Id: Ie69459c8bd31922133d7d1d130b2835c84e6037a
JIRA:CYAN-756
|
|
|
|
|
|
|
| |
This allows images to be shared directly after opening them with the
DownloadManager.
Change-Id: I65c79923b7aef4c1113e572030c9c7f750b73df0
|
|
|
|
|
|
| |
Patchset #2: changed WiFi -> Wi-Fi
Change-Id: Iea9e64747faa0743c9809158a0aec9151db352bf
|
|\
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/packages/providers/DownloadProvider into 1.1
Android 4.2.2 release 1
|
| |
| |
| |
| |
| | |
Bug: 7693834
Change-Id: I5e212be321cccae0f7c76f80049c4e09f0867694
|
| |
| |
| |
| |
| | |
Change-Id: Icadeb210d13e600f85b1a1d21aaaa79e26d78240
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I6882b2a17c13803e66b1afc8e0bc02dd3d4bf049
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: Ia4dc102097a8c6085e20d7fc7e2e10adc475f872
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I195b9b502336dad204ce6b4e9a1a74cc9f9f398f
Auto-generated-cl: translation import
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Calculate remaining time in DownloadNotifier so we always use the
most recent progress data, which avoids showing stale times.
Weight speed calculation to prefer historical data so remaining time
is smoother on bumpy network connections.
Bug: 7631948
Change-Id: I497be0899e65086356745340b19d3987c6185bdd
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Follow move to EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS extras, which
was missing during refactoring.
Bug: 7617373
Change-Id: I26203a2bc6fc0e211a1aa602c0de018332d76f60
|
| |/
| |
| |
| |
| | |
Change-Id: Ib11120e47f29151b4281f86db6dbeaecf4e060d5
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I8aa3828fb38dc088148dbe588735364ccb09bee5
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I5fe1cabbe3d55843bb3155efb5c0c00a511b04fd
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I79fc66232d0405d1a631ff00ae21579baa4d6a3f
Auto-generated-cl: translation import
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Calculate speed of in-progress downloads and estimate time remaining
until completion. Uses a moving average that is weighted 1:1 with
the most recent 500ms sample. Funnels timing data to notifications
through DownloadHandler.
Bug: 6777872
Change-Id: I9155f2979aa330bd1172f63bbfca1d053815cee5
|
| |/
| |
| |
| |
| | |
Change-Id: I6ca8a2ceef5a5ad54a9cff1b4194669762d637cf
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Switch to using new inbox-style notifications when collapsing multiple
downloads. Correctly handles clustering, including cancellation of
stale notifications. All notifications are now handled in a single
class, making it easier to reason about correctness.
Fixed bugs around handling of visibility flags. Move away from using
"int" as internal keys, since they can overflow. Started work for
time estimates, will finish in a future CL.
Explicitly pass all relevant IDs to DownloadReceiver instead of doing
a second racy query. Fix StrictMode warnings when querying in
DownloadReceiver.
Bug: 6777872, 5463678, 6663547, 6967346, 6634261, 5608365
Change-Id: I5eb47b73b90b6250acec2ce5bf8d7a274ed9d3a9
|
|\|
| |
| |
| | |
https://android.googlesource.com/platform/packages/providers/DownloadProvider into HEAD
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Downloads in the RUNNING state are considered ready to start so that
downloads are correctly resumed when the process crashes. However,
this causes a race condition while UpdateThread is processing a
Cursor when a DownloadThread finishes.
With this change, DownloadThread now skips requests for downloads
already marked as finished. Apps listening for the DOWNLOAD_COMPLETE
broadcast will no longer see data mutated by the second thread, and
will not see the broadcast duplicated.
Bug: 6948938, 6970458, 6818900
Change-Id: I35deac3cedbfe7f50091fab5818d85594dba558c
|
| |
| |
| |
| |
| |
| |
| | |
I don't like DRM, but other people do.
Bug: 7370549
Change-Id: I44220404eab6e6cc85ea16cfcf58474135c03f83
|
| |
| |
| |
| |
| |
| |
| | |
Add mipmap-xxhdpi launcher icon asset.
Bug: 6718166
Change-Id: I9fbe8e6c5345fddc78b0129e329205aaf973ea6c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When deleting a download, don't bother scanning it, since we'll just
delete it moments later. This was already racy since it didn't even
wait for the scan to complete.
Bug: 7256243
Change-Id: I8c3b96823d94bc1688ef336cb45746ccd35fc760
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When checking network status, treat non-connected networks as
disconnected. This handles cases like captive portal checks, and
slow DHCP servers.
Bug: 7264340
Change-Id: I0b466cee5d5cb73037f3fb209c583711b8f9eefd
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 7164238
Bug: 7237908
Got rid of FLAG_ACTIVITY_NEW_TASK for proper back behavior
Change-Id: I50af9aeafb27d6079bda4f81f4a116b6bb600676
|
| |/
| |
| |
| |
| | |
Bug: 6923241
Change-Id: Idf4037b4e360cb6453b315d1cc95608762c9e0c8
|
| |
| |
| |
| |
| |
| | |
Bug #6995003
Change-Id: I3dba57d7ee9697bfdb976432096c680a0f0a4480
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When building PackageInstaller intents, include ORIGINATING_URI and
REFERRER extras. Unify view intent building for both notifications
and list UI.
Bug: 6900672
Change-Id: I18435e0f8aa549880ec594f82b6a250232706135
|
| |\
| | |
| | |
| | |
| | | |
* commit 'd7dd6019baf12961dce722d33003e238cdd72f6a':
Adds missing Bluetooth as network type.
|
| | |\ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The network connection type for Bluetooth is added so
that it is possible to use Bluetooth as Hotspot during
download from the Internet.
Change-Id: Ic32b083068d8316a41f2c31a3575a28163f6c7f3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In a future version of Android, the default value for
<provider android:exported> will change from true to false.
Explicitly set android:exported="true"
Bug: 3306452
Change-Id: Id23f16a8527ba97be1d8617ccfc4346734f695d0
|
| | |
| | |
| | |
| | |
| | |
| | | |
Directly mock NotificationManager instead of using SystemFacade.
Change-Id: If932d26e23816e8674469c275a828701cce5fc2d
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 6544953
Change-Id: I4157c67b9b9cddab4ade795c328a202f6a230f95
|
| |/ /
| | |
| | |
| | |
| | | |
Change-Id: I50f7efa62f6cb011cc8cda96b572e0327481e275
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I4fb5bdc4c7aff92e7d04cdfbd61d985539a25be4
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Id1e521b41e4807247a99c2d4fac6b092799c4097
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Icb03811c70a091981b748e50004b2db597c68280
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. The problem is that download provider is using a custom view to intercept
clicks to toggle the state of the nested check box. However, the when
toggling the code is not calling performClick() on the check box which
aside of toggling will also send the right accessibility event.
bug:6705105
Change-Id: Ia7253ff05f6e4575a346b9aaf3fbceecd68b9782
|
| | |
| | |
| | |
| | | |
Change-Id: Ia9138f7b8611650a3dfab998de558c1b53b0f27b
|
| |\|
| | |
| | |
| | | |
* commit '2b9a11f729ce4ce5e7ef06c611522146468dc208':
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I498fdba3aa0836ff4f4f42e43e0e7a5d94dfa25d
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I9e117db77c61afa73e9d2bdaeb6080270ac4ca4c
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit 'c5b582cebe167264106df5fa7b2ae7312cd456ce':
Uniform "when" to avoid flashing notifications.
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'f918429d0c1927a19d688baa26a07c2c65765580':
Uniform "when" to avoid flashing notifications.
|