cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [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.
Date Wed, 23 Sep 2015 19:58:41 GMT
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 <bowserj@apache.org>
Authored: Fri Sep 18 13:52:12 2015 -0700
Committer: Joe Bowser <bowserj@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


Mime
View raw message