Skip to content

Commit

Permalink
fix: missing super.onRequestPermissionsResult error (MissingSuperCall) (
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Jul 7, 2021
1 parent 422ce4f commit b31e024
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/src/org/apache/cordova/CordovaActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ public void onConfigurationChanged(Configuration newConfig) {
@Override
public void onRequestPermissionsResult(int requestCode, String permissions[],
int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);

try
{
cordovaInterface.onRequestPermissionResult(requestCode, permissions, grantResults);
Expand Down

0 comments on commit b31e024

Please sign in to comment.