Commit bcd63a8
committed
Give a video and a piece of music a download of their own
A video and a piece of music are the two worth having on the phone before
they are wanted, and the two whose downloads run long enough to be worth
stopping. Neither could be asked for on its own.
Pressing the message is all there was, and pressing it does something
else: it opens the viewer, and streams what has not arrived, or it starts
playing. Keeping the file was only ever a side effect of watching or
listening to it, and stopping the download was reachable only in the
states where pressing the message happened to mean cancel.
Both are now an action of their own, on a video and on a piece of music
that is not already on the phone. While the file is on its way the action
cancels it; where it was never started, or was stopped part of the way
through, the action fetches it, and only fetches it: nothing is opened and
nothing is played. A download taken up again carries on from where it was
stopped, as it does for the button that is drawn.
The action is not offered for what is already here, nor for a message
still on its way out.1 parent 62b56a0 commit bcd63a8
2 files changed
Lines changed: 52 additions & 0 deletions
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17237 | 17237 | | |
17238 | 17238 | | |
17239 | 17239 | | |
| 17240 | + | |
| 17241 | + | |
| 17242 | + | |
| 17243 | + | |
| 17244 | + | |
| 17245 | + | |
| 17246 | + | |
| 17247 | + | |
| 17248 | + | |
| 17249 | + | |
| 17250 | + | |
| 17251 | + | |
| 17252 | + | |
| 17253 | + | |
| 17254 | + | |
| 17255 | + | |
| 17256 | + | |
| 17257 | + | |
| 17258 | + | |
| 17259 | + | |
| 17260 | + | |
| 17261 | + | |
| 17262 | + | |
| 17263 | + | |
| 17264 | + | |
| 17265 | + | |
| 17266 | + | |
| 17267 | + | |
| 17268 | + | |
| 17269 | + | |
| 17270 | + | |
| 17271 | + | |
| 17272 | + | |
| 17273 | + | |
| 17274 | + | |
| 17275 | + | |
| 17276 | + | |
| 17277 | + | |
| 17278 | + | |
| 17279 | + | |
| 17280 | + | |
| 17281 | + | |
| 17282 | + | |
| 17283 | + | |
| 17284 | + | |
| 17285 | + | |
17240 | 17286 | | |
17241 | 17287 | | |
17242 | 17288 | | |
| |||
26590 | 26636 | | |
26591 | 26637 | | |
26592 | 26638 | | |
| 26639 | + | |
| 26640 | + | |
26593 | 26641 | | |
26594 | 26642 | | |
26595 | 26643 | | |
| |||
27363 | 27411 | | |
27364 | 27412 | | |
27365 | 27413 | | |
| 27414 | + | |
| 27415 | + | |
| 27416 | + | |
27366 | 27417 | | |
27367 | 27418 | | |
27368 | 27419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments