fix: missing super.onRequestPermissionsResult error (MissingSuperCall) (#1264)

This commit is contained in:
エリス 2021-07-07 19:57:33 +09:00 committed by GitHub
parent 422ce4f6bf
commit b31e024dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -513,6 +513,8 @@ public class CordovaActivity extends AppCompatActivity {
@Override @Override
public void onRequestPermissionsResult(int requestCode, String permissions[], public void onRequestPermissionsResult(int requestCode, String permissions[],
int[] grantResults) { int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
try try
{ {
cordovaInterface.onRequestPermissionResult(requestCode, permissions, grantResults); cordovaInterface.onRequestPermissionResult(requestCode, permissions, grantResults);