Bug 1042463 - "System Update Ready" prompt keeps coming back and remind me battery is not 50% charged. r=fabrice

This commit is contained in:
James Hobin 2014-08-19 14:57:00 -04:00
parent b7aed326ae
commit 9221346422

View File

@ -312,6 +312,9 @@ UpdatePrompt.prototype = {
}
switch (aDetail.result) {
// Battery not okay, do not wait for idle to re-prompt
case "low-battery":
break;
case "wait":
// Wait until the user is idle before prompting to apply the update
this.waitForIdle();