Closed Bug 1184286 Opened 10 years ago Closed 7 years ago

Unify settings read/write in FTU

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sfoster, Unassigned)

Details

(Keywords: polish)

Each component of the FTU currently makes its own navigator.mozSettings locks and requests, they should be refactored to avoid redundant requests and code spaghetti/duplication The Settings app uses a combination of its SettingsCache module and the shared SettingsListener. There's a nice module in shared/js/smart_screen/settings_cache.js that combines the cache aspect with the observer pattern provided by SettingsListener. Perhaps it can be promoted to shared/js for reuse here?
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.