You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2015/09/23 21:58:51 UTC

[40/45] android commit: Working on getting the Geolocation Plugin to work by default with the default WebView. Crosswalk will need to make similar modifications.

Working on getting the Geolocation Plugin to work by default with the default WebView.  Crosswalk will need to make similar modifications.


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

Branch: refs/heads/5.0.x
Commit: 10c913268555f5f7745e3d70419ee0efaf1afd96
Parents: e00cae1
Author: Joe Bowser <bo...@apache.org>
Authored: Fri Sep 18 13:52:12 2015 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Mon Sep 21 18:09:30 2015 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/engine/SystemWebChromeClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/10c91326/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java
index d411421..9faae29 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);
         }
 
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org