You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2012/11/14 22:06:00 UTC

android commit: Bumping Android API version to 17

Updated Branches:
  refs/heads/master 5810a96e6 -> dfa514334


Bumping Android API version to 17


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/dfa51433
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/dfa51433
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/dfa51433

Branch: refs/heads/master
Commit: dfa514334baa8f5989043bc01001bd4ead8527d7
Parents: 5810a96
Author: Simon MacDonald <si...@gmail.com>
Authored: Wed Nov 14 16:05:50 2012 -0500
Committer: Simon MacDonald <si...@gmail.com>
Committed: Wed Nov 14 16:05:50 2012 -0500

----------------------------------------------------------------------
 framework/project.properties                       |    2 +-
 .../src/org/apache/cordova/CordovaWebView.java     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/dfa51433/framework/project.properties
----------------------------------------------------------------------
diff --git a/framework/project.properties b/framework/project.properties
index 4383e57..d556741 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

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/dfa51433/framework/src/org/apache/cordova/CordovaWebView.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java
index 4a23a61..1511e30 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)