diff options
author | Jeff Sharkey <jsharkey@android.com> | 2011-06-15 11:18:46 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2011-06-17 16:34:50 -0700 |
commit | 961024389b3782936a40a7d090d670290bb66c3c (patch) | |
tree | 7188814c93d784118a5efea428eb203418f88575 /res/values-ar/strings.xml | |
parent | 1fec3e68161dce11cc6995c8c3de50d6ca37f2e7 (diff) | |
download | android_packages_providers_DownloadProvider-961024389b3782936a40a7d090d670290bb66c3c.tar.gz android_packages_providers_DownloadProvider-961024389b3782936a40a7d090d670290bb66c3c.tar.bz2 android_packages_providers_DownloadProvider-961024389b3782936a40a7d090d670290bb66c3c.zip |
Teach DownloadManager about network policy.
Now network access is determined by using getActiveNetworkInfoForUid()
which uses BLOCKED to indicate that network should be rejected for
the requesting UID. While download in progress, watch for any policy
changes that should trigger pause.
Also check NetworkInfo.isConnected() for correctness.
Change-Id: I1efa79823f15ecc3fa088a6719da1b770c64b255
Diffstat (limited to 'res/values-ar/strings.xml')
0 files changed, 0 insertions, 0 deletions