Github user nikhilkh commented on a diff in the pull request:
https://github.com/apache/cordova-android/pull/223#discussion_r41164437
--- Diff: framework/src/org/apache/cordova/CordovaInterface.java ---
@@ -69,4 +69,20 @@ Licensed to the Apache Software Foundation (ASF) under
one
* Returns a shared thread pool that can be used for background tasks.
*/
public ExecutorService getThreadPool();
+
+ /**
+ * Sends a permission request to the activity for one permission.
+ */
+ public void requestPermission(CordovaPlugin plugin, int requestCode,
String permission);
+
+ /**
+ * Sends a permission request to the activity for a group of
permissions
+ */
+ public void requestPermissions(CordovaPlugin plugin, int requestCode,
String [] permissions);
--- End diff --
Thanks for making the change! :+1:
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]