| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I17396116e009181cd2039be4142c6fb41199e88c
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I7b6a31e555f88833d0e5f16f9341d41feca02069
|
|
|
|
| |
Change-Id: Id23ee473318bf954da1a39ea98002b956368745c
|
|
|
|
| |
Change-Id: I7836d16c2ef78fa203a706bff4a06d293d18f65f
|
|
|
|
| |
Change-Id: Iaaf4d22879458065d09f804ba9ffadd8eebb9eb1
|
|
|
|
| |
Change-Id: I5368c084503c1ade001ba3d3ff4b71bdab6f3c0c
|
|
|
|
| |
Change-Id: I10c6ead7f2dfda7975ebe5358954369783131d3f
|
|
|
|
| |
Change-Id: I32931104b5e8fd99ab94d868e80e8b60f033195c
|
|
|
|
|
|
|
| |
can't click on the notification.
Bug: 3173077
Change-Id: Iaa70a07c701160733d7f7283b5e4952dd3b064f7
|
|
|
|
| |
Change-Id: I108d5ab1b9197c257b9e7f6afb05745ebf855c6e
|
|
|
|
| |
Change-Id: I2031a68f02f7e5fcd8702b1184e01c381cdc40fe
|
|
|
|
| |
Change-Id: Ib1e73afe5daa389177da8f3614761364ae6bcc26
|
|
|
|
| |
Change-Id: I1837f21d4369070e4ba167f8cab45f6df1daa037
|
|
|
|
| |
Change-Id: Ic0c8d1b205c495bbcaccf3141abcbc1d14e6ea42
|
|
|
|
| |
Change-Id: I0560d6ae179ababe74f53d3b937b8c53b674451b
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '298c2cd136e25a705486c543d8c04311ab655d98'
* commit '298c2cd136e25a705486c543d8c04311ab655d98':
Replace shared storage with USB storage.
|
| |
| |
| |
| | |
Change-Id: If3fb1c213f9f9c6f21bd1f13f633393a32d2509a
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit 'e664fbafc566f31f844dd543c30064e92f3653f7'
* commit 'e664fbafc566f31f844dd543c30064e92f3653f7':
bug:3083060 UI tweaks to DownloadManager screens
|
| |
| |
| |
| | |
Change-Id: I3c7ee819077d344072deee4cfd61f883c64da758
|
| |
| |
| |
| | |
Change-Id: I21052e55a62dd3d9a9846dec30c3ac12cc9c25af
|
| |
| |
| |
| | |
Change-Id: I03a58b6efd2e1a12054bc7dbb320368be6cfdd17
|
| |
| |
| |
| | |
Change-Id: I1f00b783250d0c4112cf7918f9ab05f83c209407
|
| |
| |
| |
| | |
Change-Id: I27a5fc3ab9bd0fd3e6d9db674ef32077d623e7b6
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
variations." into gingerbread
Merge commit '6a52fa33f34e3a994881801787cb012eaef8b4ce'
* commit '6a52fa33f34e3a994881801787cb012eaef8b4ce':
Split strings with SD card references into variations.
|
| |
| |
| |
| | |
Change-Id: I62562315a3b0691ee3a541e320b42463cff65265
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '380d44ad97ad6c800386729d9bac6947bff1a1b8'
* commit '380d44ad97ad6c800386729d9bac6947bff1a1b8':
UI + string tweaks for downloads UI + size limits UI
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tweaks to UI strings based on feedback
* new "retry" button for single selection of failed download
* make SizeLimitActivity translucent+titleless, so it looks like a
dialog over the current app
Change-Id: I6a990275880d23ab6b4368d39b70f0ad042825ec
|
| |
| |
| |
| | |
Change-Id: I0baa17a7069b8e31720524e73f60e7ecf4b3dfe2
|
|/
|
|
| |
Change-Id: Ifcc565b9b2106e412cb883afd3446e4740c29306
|
|
|
|
| |
Change-Id: I43d3b9ca4ea7d4786a47363b4f5f7e6f003013bb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change extends the original work to add a size limit over which
wifi is required to download a file.
First, this change adds a second size limit, over which wifi is
recommended but not required. The user has the option to bypass this
limit.
Second, this change implements dialogs shown to the user when either
limit is exceeded. These dialogs are shown by the background download
manager service when a download is started and found to be over the
limit (and wifi is not connected).
I'm including one small fix to the unit tests needed from the previous
change.
Change-Id: Ia0f0acaa7b0d00e98355925c3446c0472048df10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces a second view into the download manager
database via a set of URIs starting with /all_downloads, renaming the
original /download URIs to /my_downloads. In addition to making
things more clear, this change allows the downloads UI to grant
permissions on individual downloads to viewer apps.
The old semantics were:
* for ordinary callers, /download included only downloads initiated by
the calling UID
* for intraprocess calls or calls by root, /download included all
downloads
The new semantics are
* /my_downloads always includes only downloads initiated by the
calling UID, and requires only INTERNET permission. It could just
as well require no permission, but that's not possible in the
framework, since path-permissions can only broaden access, not
tighten it. It doesn't matter, because these URIs are useless
without INTERNET permission -- if a user can't initiate downloads,
there's no reason to read this.
* /all_downloads always includes all downloads on the system, and
requires the new permission ACCESS_ALL_DOWNLOADS. This permission
is currently protectionLevel=signature -- this could be relaxed
later to support third-party download managers.
All download manager code has been changed to use /all_downloads URIs,
except when passing a URI to another app. In making this change
across the download manager code, I've taken some liberties in
cleaning things up. Other apps are unchanged and will use
/my_downloads.
Finally, this incorporates changes to DownloadManager to return a
content URI for /cache downloads -- the download UI no longer assumes
it's a file URI, and it grants permissions to the receiver of the VIEW
intent. The public API test has also been updated.
I've also fixed some null cursor checking in DownloadManager.
Change-Id: I05a501eb4388249fe80c43724405657c950d7238
|
|
|
|
|
|
|
| |
This avoids the black text on black background problem with new
themes.
Change-Id: I3e05a2a4035dc5837dad67d889f92864c619c6b5
|
|
|
|
| |
Change-Id: I806756f787cd261ca5cfdb8aeb40b1e6681c7f42
|
|
|
|
| |
Change-Id: Ic5de3f973bab21a4d09d375cca1e6775eb1612d7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As it stands, when a download is paused because it's too big to
proceed over mobile, and must proceed over wifi, it looks like any
other paused download, with no indication of why it's paused. That
may be passable for most other reasons for pausing a download, but it
seems too confusing for this case. So this change adds a simple
string message that replaces the progress bar when a download is
paused for this reason (the icon also changes to a warning).
The implementation isn't beautiful and could use some improvement, but
I think it's acceptable and necessary. The exact UI design and
wording are certainly open to change.
Change-Id: I753d57f463e2614b5694bdc178d2a51066da8ca3
|
|
|
|
| |
Change-Id: Ie97669dcd7a43f4f408beeee7ab7e65d9114731d
|
|
|
|
| |
Change-Id: Ib2ce8f6ee48925ab4371c39266ef4696cb812f91
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change makes all downloads through the public API visible by
default. It removes the API that had allowed applications to control
notifications while the download runs. This has been replaced with a
hidden API, since such behavior is needed by SystemUpdater and Market
(for self-updates). Additionally, the behavior is now protected by a
new permission.
I'm making this permission signatureOrSystem, and changing the
non-purgeable permission to the same (it should've been that, I just
didn't know). I'm also adding string descriptions to appease the
translation folks.
Change-Id: I192e8b19ff9b0e425257cef0db081c3d75996ea5
|
|/
|
|
| |
Change-Id: Ic6f84636b3bbb635ecc790711ba5828dd094f878
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a permission,
android.permission.DOWNLOAD_CACHE_NON_PURGEABLE. When an app has this
permission, any downloads it requests through the public API to the
download cache will automatically become non-purgeable, i.e. they'll
never be automatically deleted by the download manager to free up
space. This is intended for use only by the system updater.
Change-Id: I35cdd44f7e5d46bc70443d1a9743f61a51395ddb
|
|
|
|
|
|
|
| |
The AnimatedImageView class was private and should not have been used.
When it was removed, the decision was made to change these to
unanimated images. The first frame will show, which should be good
enough, and it'll safe a bit of CPU.
|
|
|
|
| |
Change-Id: I012450adc3ff91ce5cfbd28e21eed1aa6833c56f
|
|
|
|
| |
Change-Id: I800cdf6e7d34180e13d7af74abfe0887e1f20316
|
|
|
|
| |
Change-Id: Iac9bc801179d35cf266b6398c2c6557f5abc524e
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
applications to the SD card.
Necessary for http://b/issue?id=2384554
Also create names for files by default, so they do not display as
<Untitled>. Remove calls to createTitleFromFilename, which are
no longer necessary.
Requires a change to frameworks/base.
|