From dfa514334baa8f5989043bc01001bd4ead8527d7 Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Wed, 14 Nov 2012 16:05:50 -0500 Subject: [PATCH] Bumping Android API version to 17 --- framework/project.properties | 2 +- framework/src/org/apache/cordova/CordovaWebView.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/project.properties b/framework/project.properties index 4383e57e..d556741d 100644 --- a/framework/project.properties +++ b/framework/project.properties @@ -10,7 +10,7 @@ # Indicates whether an apk should be generated for each density. split.density=false # Project target. -target=Google Inc.:Google APIs:16 +target=Google Inc.:Google APIs:17 apk-configurations= renderscript.opt.level=O0 android.library=true diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index 4a23a61d..1511e302 100755 --- a/framework/src/org/apache/cordova/CordovaWebView.java +++ b/framework/src/org/apache/cordova/CordovaWebView.java @@ -229,7 +229,7 @@ public class CordovaWebView extends WebView { settings.setJavaScriptCanOpenWindowsAutomatically(true); settings.setLayoutAlgorithm(LayoutAlgorithm.NORMAL); - //Set the nav dump for HTC 2.x devices (disabling for ICS, derecated entirely for Jellybean 4.2) + // Set the nav dump for HTC 2.x devices (disabling for ICS, deprecated entirely for Jellybean 4.2) try { Method gingerbread_getMethod = WebSettings.class.getMethod("setNavDump", new Class[] { boolean.class }); if(android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.HONEYCOMB)