зеркало из https://github.com/mozilla/gecko-dev.git
Bug 605173 - Download notification still remains even when the download has been canceled and deleted
Bug 605173 - Download notification still remains even when the download has been canceled and deleted [r=mfinkle]
This commit is contained in:
Родитель
1a378c4275
Коммит
e517b86251
|
@ -621,7 +621,7 @@ AlertDownloadProgressListener.prototype = {
|
||||||
},
|
},
|
||||||
|
|
||||||
onDownloadStateChange: function(aState, aDownload) {
|
onDownloadStateChange: function(aState, aDownload) {
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
let state = aDownload.state;
|
let state = aDownload.state;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case Ci.nsIDownloadManager.DOWNLOAD_FAILED:
|
case Ci.nsIDownloadManager.DOWNLOAD_FAILED:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче