You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by nikhilkh <gi...@git.apache.org> on 2015/10/05 18:23:20 UTC

[GitHub] cordova-android pull request: Cordova-Android 5.0/Marshmallow Upda...

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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