crosswalk-project/crosswalk — pull request #2498 by gaochun (2014-10-13 06:13:13+00:00)
Title: [Android] Add condition to avoid duplecated intents receiver registration.

The registration existed in both constructor and onActivityStateChange()
method for MessagingSmsManager, so add a switch to avoid duplecated
registration.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2614
(cherry picked from commit 6b4e9ac44aed4c905a5ddb8556fe8e6f9a7e4abf)