Throwing code over the fence to fix CB-1087, I can't repro on my Galaxy Nexus

This commit is contained in:
Joe Bowser 2012-07-18 14:30:45 -07:00
parent d4302ae51b
commit d74551216f

View File

@ -186,8 +186,9 @@ public class CordovaWebView extends WebView {
settings.setJavaScriptCanOpenWindowsAutomatically(true);
settings.setLayoutAlgorithm(LayoutAlgorithm.NORMAL);
//Set the nav dump for HTC
settings.setNavDump(true);
//Set the nav dump for HTC 2.x devices (disabling for ICS/Jellybean)
if(android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.HONEYCOMB)
settings.setNavDump(true);
// Enable database
settings.setDatabaseEnabled(true);