Android ICS WebView converts undefined to true
<p>I've got an app that contains a WebView that loads a local HTML file that would call java functions registered for the WebView. Some functions take boolean parameters, like foo(boolean b). If I call these functions at the javascript level with undefined, then in the java layer, the incoming parameter would be converted to different values in different versions of Android. In Android 2.3, b==false; in ICS, b==true. Has anyone seen this as well? Is this a bug in ICS or is this bad practice on my part? The ICS device I'm using is Samsung Gallaxy Nexus.</p>
