mozilla-b2g/gaia — pull request #2877 by timdream (2012-07-26 22:04:22+00:00)
Title: Update SettingsListener to use mozSettings.addObserver()

Airplane mode is currently broken because `mozSettings.onchange` doesn't work correctly with multiple settings `mozSettings.getLock().set()`. Let's switch to `mozSettings.addObserver()` to workaround this issue.