mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
fix: missing super.onRequestPermissionsResult error (MissingSuperCall) (#1264)
This commit is contained in:
parent
422ce4f6bf
commit
b31e024dbb
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user