a-ferrari commented on issue #1393:
URL: 
https://github.com/apache/cordova-android/issues/1393#issuecomment-1025845233


   The reason is the implementation of onRequestPermissionResult in 
CordovaInterfaceImpl
   
   ```
   /**
        * Called by the system when the user grants permissions
        *
        * @param requestCode
        * @param permissions
        * @param grantResults
        */
       public void onRequestPermissionResult(int requestCode, String[] 
permissions,
                                             int[] grantResults) throws 
JSONException {
           Pair<CordovaPlugin, Integer> callback = 
permissionResultCallbacks.getAndRemoveCallback(requestCode);
           if(callback != null) {
               callback.first.onRequestPermissionResult(callback.second, 
permissions, grantResults);
           }
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to