From 531e36c7cac76c0c3692eaf87c4d5855402f5f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Felipe=20Destro?= Date: Fri, 11 Mar 2022 17:58:33 +0000 Subject: [PATCH] fix: changed the method called due to depreciation --- framework/src/org/apache/cordova/CordovaInterfaceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/org/apache/cordova/CordovaInterfaceImpl.java b/framework/src/org/apache/cordova/CordovaInterfaceImpl.java index 84e2c0a4..cfe9c3da 100644 --- a/framework/src/org/apache/cordova/CordovaInterfaceImpl.java +++ b/framework/src/org/apache/cordova/CordovaInterfaceImpl.java @@ -219,7 +219,7 @@ public class CordovaInterfaceImpl implements CordovaInterface { int[] grantResults) throws JSONException { Pair callback = permissionResultCallbacks.getAndRemoveCallback(requestCode); if(callback != null) { - callback.first.onRequestPermissionResult(callback.second, permissions, grantResults); + callback.first.onRequestPermissionsResult(callback.second, permissions, grantResults); } }