From d74551216f917b06551e311f9c6320884b256be5 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Wed, 18 Jul 2012 14:30:45 -0700 Subject: [PATCH] Throwing code over the fence to fix CB-1087, I can't repro on my Galaxy Nexus --- framework/src/org/apache/cordova/CordovaWebView.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index b3ad35c5..f36403ba 100755 --- a/framework/src/org/apache/cordova/CordovaWebView.java +++ b/framework/src/org/apache/cordova/CordovaWebView.java @@ -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);