canmove, Confirmed users
1,220
edits
Ptheriault (talk | contribs) No edit summary |
Ptheriault (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
<b>Open Questions</b><br> | <b>Open Questions</b><br> | ||
* Where do packaged app updates come from (ie where are they hosted, marketplace?) Is this still an open question? | * Where do packaged app updates come from (ie where are they hosted, marketplace?) Is this still an open question? | ||
* How does the update process work with signing (probably need to combine signing review with this review)? | * How does the update process work with signing (probably need to combine signing review with this review)? | ||
* Just to confirm: the user is prompted when an update is available, and it is up to the user to choose to download it ? (can they dismiss this?) | |||
==Architecture== | ==Architecture== | ||
| Line 76: | Line 76: | ||
For further on these steps see [http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#1718 Webapps.jsm#1718]. | For further on these steps see [http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#1718 Webapps.jsm#1718]. | ||
===Applying App Updates=== | ===Applying App Updates=== | ||
For app updates, the update is applied as soon as it is downloaded, unless the app is running in | For app updates, the update is applied as soon as it is downloaded, unless the app is running in foreground. If that is the case, we wait that it is hidden (most probably the user will press "home") to apply the update. | ||
Note that this differs from the system updates, we have an additional prompt when it is downloaded, to let the user choose to apply it now (the phone will reboot) or later (when the phone is rebooted next time). | Note that this differs from the system updates, we have an additional prompt when it is downloaded, to let the user choose to apply it now (the phone will reboot) or later (when the phone is rebooted next time). Also note that Gaia apps, are only updated during the system update. | ||