You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/07/07 11:00:58 UTC
[cordova-android] branch master updated: fix: missing
super.onRequestPermissionsResult error (MissingSuperCall) (#1264)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git
The following commit(s) were added to refs/heads/master by this push:
new b31e024 fix: missing super.onRequestPermissionsResult error (MissingSuperCall) (#1264)
b31e024 is described below
commit b31e024dbb5e64171edab776eb1c8b0e8b5e8a01
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Wed Jul 7 19:57:33 2021 +0900
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 4a43620..5cdded6 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);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org