canmove, Confirmed users
640
edits
(→Tips) |
|||
| Line 11: | Line 11: | ||
# A folder of distribution files are shipped with the ROM image in /system/org.mozilla.firefox/distribution/* folder. Shipping in this way ensures the files are not easily overwritten or removed by an application update. Note, files found in the /data/data/org.mozilla.firefox/distribution/* folder will "win" in cases where both locations are used. | # A folder of distribution files are shipped with the ROM image in /system/org.mozilla.firefox/distribution/* folder. Shipping in this way ensures the files are not easily overwritten or removed by an application update. Note, files found in the /data/data/org.mozilla.firefox/distribution/* folder will "win" in cases where both locations are used. | ||
Each type of data | A third approach is underway in {{bug|1013024}}. | ||
* Default bookmarks are read from the APK directly or from the "distribution" folder (if it already | |||
Each type of data has its own nuances: | |||
* Default bookmarks are read from the APK directly or from the "distribution" folder (if it already exists) any time a profile is created. These bookmarks are created after we create Firefox's default bookmarks, because the distribution is loaded asynchronously on first run. | |||
* Preferences are set as "default" preferences on each run, since a "default" preference only lasts for the lifetime of the session. They are created as "default" preferences to allow "user" preferences to override them. | * Preferences are set as "default" preferences on each run, since a "default" preference only lasts for the lifetime of the session. They are created as "default" preferences to allow "user" preferences to override them. | ||
* Lightweight themes are | * Lightweight themes are actually just preferences. The data for the theme must live online somewhere. Typical places are the AMO theme or getpersonas.com sites. | ||
* Search engine plugins and add-ons must follow a fixed folder layout. | * Search engine plugins and add-ons must follow a fixed folder layout. | ||