mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 20:33:07 +08:00
Throwing code over the fence to fix CB-1087, I can't repro on my Galaxy Nexus
This commit is contained in:
parent
d4302ae51b
commit
d74551216f
@ -186,8 +186,9 @@ public class CordovaWebView extends WebView {
|
|||||||
settings.setJavaScriptCanOpenWindowsAutomatically(true);
|
settings.setJavaScriptCanOpenWindowsAutomatically(true);
|
||||||
settings.setLayoutAlgorithm(LayoutAlgorithm.NORMAL);
|
settings.setLayoutAlgorithm(LayoutAlgorithm.NORMAL);
|
||||||
|
|
||||||
//Set the nav dump for HTC
|
//Set the nav dump for HTC 2.x devices (disabling for ICS/Jellybean)
|
||||||
settings.setNavDump(true);
|
if(android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.HONEYCOMB)
|
||||||
|
settings.setNavDump(true);
|
||||||
|
|
||||||
// Enable database
|
// Enable database
|
||||||
settings.setDatabaseEnabled(true);
|
settings.setDatabaseEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user