From 47ac5148357050e182ad54dda02d5c96aa17a60b Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Fri, 18 Sep 2015 13:52:12 -0700 Subject: [PATCH] Working on getting the Geolocation Plugin to work by default with the default WebView. Crosswalk will need to make similar modifications. --- .../src/org/apache/cordova/engine/SystemWebChromeClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java index d4114217..9faae299 100755 --- a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java +++ b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java @@ -189,7 +189,7 @@ public class SystemWebChromeClient extends WebChromeClient { CordovaPlugin geolocation = parentEngine.pluginManager.getPlugin("Geolocation"); if(geolocation != null && !geolocation.hasPermisssion()) { - //cordova.requestPermissions(geolocation); + geolocation.cordova.requestPermissions(geolocation, 0); } }