From b31e024dbb5e64171edab776eb1c8b0e8b5e8a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Wed, 7 Jul 2021 19:57:33 +0900 Subject: [PATCH] fix: missing super.onRequestPermissionsResult error (MissingSuperCall) (#1264) --- framework/src/org/apache/cordova/CordovaActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/src/org/apache/cordova/CordovaActivity.java b/framework/src/org/apache/cordova/CordovaActivity.java index 4a436202..5cdded66 100755 --- a/framework/src/org/apache/cordova/CordovaActivity.java +++ b/framework/src/org/apache/cordova/CordovaActivity.java @@ -513,6 +513,8 @@ public class CordovaActivity extends AppCompatActivity { @Override public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) { + super.onRequestPermissionsResult(requestCode, permissions, grantResults); + try { cordovaInterface.onRequestPermissionResult(requestCode, permissions, grantResults);