mozilla-b2g/gaia — pull request #3114 by davidflanagan (2012-08-02 15:44:25+00:00)
Title: call mozHasPendingMessage *before* registering the message handler

This fixes a bug in the way the gallery app responds to Pick requests.