mozilla-b2g/gaia — pull request #8258 by KevinGrandon (2013-02-22 07:09:56+00:00)
Title: Bug 811860 - Delay audio init

I made a sms performance regression by introducing audio load at the start of the app.

This patch delays the audio load until we actually enable the send button. There should still be plenty of time to get the setting and load the sound before sending the message.

If you have a better place to init the audio, let me know - I just wanted to avoid anything that blocks the initial render, so this seemed like the best option.