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:41 UTC

[30/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/1e1a9ab2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/1e1a9ab2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/1e1a9ab2

Branch: refs/heads/5.0.x
Commit: 1e1a9ab273c4503859a000539e185e38d59da5a4
Parents: 4f3571a
Author: Joe Bowser <bo...@apache.org>
Authored: Fri Sep 18 13:52:12 2015 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Sep 18 13:52:12 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/1e1a9ab2/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