cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: [CB-2297] Fix for geolocaion database error
Date Tue, 12 Feb 2013 23:07:25 GMT
Updated Branches:
  refs/heads/master 83d9248ec -> 674b87057


[CB-2297] Fix for geolocaion database error


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

Branch: refs/heads/master
Commit: 674b87057a1e1aa95ca98b60bd36b882d0930bd7
Parents: 83d9248
Author: Benn Mapes <benn.mapes@gmail.com>
Authored: Tue Feb 12 14:23:01 2013 -0800
Committer: Benn Mapes <benn.mapes@gmail.com>
Committed: Tue Feb 12 14:23:01 2013 -0800

----------------------------------------------------------------------
 .../src/org/apache/cordova/CordovaWebView.java     |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/674b8705/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 8f12822..8e3a2af 100755
--- a/framework/src/org/apache/cordova/CordovaWebView.java
+++ b/framework/src/org/apache/cordova/CordovaWebView.java
@@ -263,6 +263,7 @@ public class CordovaWebView extends WebView {
         settings.setDatabaseEnabled(true);
         String databasePath = this.cordova.getActivity().getApplicationContext().getDir("database",
Context.MODE_PRIVATE).getPath();
         settings.setDatabasePath(databasePath);
+        settings.setGeolocationDatabasePath(databasePath);
 
         // Enable DOM storage
         settings.setDomStorageEnabled(true);


Mime
View raw message