Closed Bug 787380 Opened 13 years ago Closed 13 years ago

B2G Updates: Show a prompt to confirm or defer downloading an update

Categories

(Toolkit :: Application Update, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18
blocking-basecamp +

People

(Reporter: marshall, Assigned: marshall)

References

Details

Attachments

(1 file)

This is the initial work for a basic download prompt, more work will need to be done in follow-ups to satisfy UX requirements.
Attachment #657261 - Flags: review?(fabrice)
Comment on attachment 657261 [details] [diff] [review] updater download events - v1 Review of attachment 657261 [details] [diff] [review]: ----------------------------------------------------------------- r=me with comments addressed. ::: b2g/components/UpdatePrompt.js @@ +38,5 @@ > > + getUpdateService: function UP_getUpdateService() { > + return Cc["@mozilla.org/updates/update-service;1"]. > + getService(Ci.nsIApplicationUpdateService); > + }, Use a lazy service getter instead. @@ +47,5 @@ > // updates when on a billed pipe. Initially, opt-in for 3g, but > // that doesn't cover all cases. > checkForUpdates: function UP_checkForUpdates() { }, > + > + showUpdateAvailable: function UP_showUpdateAvailable(update) { s/update/aUpdate, and same prefixing on all other methods.
Attachment #657261 - Flags: review?(fabrice) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: