Release Preview 20 shared desktop, Android and Sargo updates
Restore Gaia settings and media workflows, extend native network adapters, and align the APK payload. Generate French/English changelogs and website entries from the simplified JSON source. Validation: shared JS and Tundra unit tests; desktop workflows and persistence; signed APK payload parity; Sargo RAM and installed startup with boot readback. Android runtime qualification is recorded separately.
This commit is contained in:
parent
be2cdce823
commit
1311bed5e9
170 changed files with 19698 additions and 2495 deletions
|
|
@ -113,6 +113,10 @@ var DownloadHelper = (function() {
|
|||
*/
|
||||
function getBlob(download) {
|
||||
var req = new Request();
|
||||
if (download.vulpesDownload) {
|
||||
download.getBlob().then(function(blob) { req.done(blob); }, function(error) { req.failed(error); });
|
||||
return req;
|
||||
}
|
||||
var storage = getVolume(download.storageName);
|
||||
var storeAvailableReq = storage.available();
|
||||
|
||||
|
|
@ -394,6 +398,10 @@ var DownloadHelper = (function() {
|
|||
*/
|
||||
function remove(download) {
|
||||
var req = new Request();
|
||||
if (download.vulpesDownload) {
|
||||
navigator.mozDownloadManager.remove(download).then(function() { req.done(download); }, function(error) { req.failed(error); });
|
||||
return req;
|
||||
}
|
||||
var incompleteDownload = download.state !== 'succeeded';
|
||||
// If is not done, use download manager to remove it,
|
||||
// otherwise, deal with the datastore.
|
||||
|
|
|
|||
Loading…
Reference in a new issue