[CB-2297] Fix for geolocaion database error

This commit is contained in:
Benn Mapes 2013-02-12 14:23:01 -08:00
parent 83d9248ec8
commit 674b87057a

View File

@ -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);