mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 891009 - Remove the selected patch after unrecoverable error. r=rstrong
This commit is contained in:
parent
a9df95ea6f
commit
99d33b5708
@ -4329,6 +4329,13 @@ Downloader.prototype = {
|
|||||||
this._update.statusText = getStatusTextFromCode(status,
|
this._update.statusText = getStatusTextFromCode(status,
|
||||||
Cr.NS_BINDING_FAILED);
|
Cr.NS_BINDING_FAILED);
|
||||||
|
|
||||||
|
#ifdef MOZ_WIDGET_GONK
|
||||||
|
// bug891009: On FirefoxOS, manaully retry OTA download will reuse
|
||||||
|
// the Update object. We need to remove selected patch so that download
|
||||||
|
// can be triggered again successfully.
|
||||||
|
this._update.selectedPatch.selected = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Destroy the updates directory, since we're done with it.
|
// Destroy the updates directory, since we're done with it.
|
||||||
cleanUpUpdatesDir();
|
cleanUpUpdatesDir();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user