>
> My preliminary patch is already performing this file extraction operation
> correctly, but it is doing it on every app launch. I only need this to
> happen on first launch or whenever the app is updated.
>

Your suggestion sounds reasonable. But I don't really trust that we'll
always get the PACKAGE_REPLACED intent, so you might instead/as well
consider tracking a version number for your system add-on in Android prefs
— rather than unconditionally extracting, only do so when the version
number changes. That way you can conceivably do so in the lifecycle hook
you use right now.
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to