crosswalk-project/crosswalk — pull request #1277 by itlodge (2013-12-09 05:24:39+00:00)
Title: [Android][Extension] Fixed device capabilities listener to support 'on' ...

...and 'add'

The original implementation diffs "onEventName" and "addEventListener(eventName)"
by the variable name. Now add a variable ``isOn`` to diff these two method
manually, which is more robust.