apache/cordova-android — pull request #74 by drkemp (2013-07-17 12:27:53+00:00)
Title: CB-4280 handle invalid bridge mode request

During the older mobilespec bridge tests, a bridge mode was requested that did not exist. This results in attempting to parse 'undefined' to get an integer, producing an untrapped numeric exception - terminating the app.

This adds a try-catch to the parse.