Closed Bug 1162791 Opened 5 years ago Closed 5 years ago
Add-ons should be enabled by default when installed
Currently, you have to go into Gaia's Settings menu and enable an add-on after flashing it using WebIDE. Instead, we should enable it by default.
Alex, is this something you can manage for our Spark v1 release?
Do you know what would it take to enable the addon?? As it looks like we are already doing what's needed. The webapps actors calls updateAppHandlers: http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/webapps.js#277 Which itself call UserCustomizations.register: http://mxr.mozilla.org/mozilla-central/source/dom/apps/Webapps.jsm#2128 And I thought that's all what needed to make an addon work??
No, add-ons must be enabled as well. I'm not sure how to do that within Gecko. Fabrice, could you help out Alex?
It might just be an issue of calling this: http://mxr.mozilla.org/mozilla-central/source/dom/apps/Webapps.jsm#4669
That's not the right fix, but I know what to do. Keeping the needinfo to fix this one later.
Simply make sure that we never pass an undefined value for app.enabled even if it's not specified by eg. preloaded apps.
Assignee: nobody → fabrice
Attachment #8608279 - Flags: review?(ferjmoreno)
Attachment #8608279 - Flags: review?(ferjmoreno) → review+
You need to log in before you can comment on or make changes to this bug.