Skip to content

Commit

Permalink
fix(android): Support cordova-android 10 (#5103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Oct 6, 2021
1 parent 8304744 commit e238233
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.getcapacitor.cordova;

import android.app.Activity;
import android.util.Pair;
import androidx.appcompat.app.AppCompatActivity;
import java.util.concurrent.Executors;
import org.apache.cordova.CordovaInterfaceImpl;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONException;

public class MockCordovaInterfaceImpl extends CordovaInterfaceImpl {

public MockCordovaInterfaceImpl(Activity activity) {
public MockCordovaInterfaceImpl(AppCompatActivity activity) {
super(activity, Executors.newCachedThreadPool());
}

Expand Down

0 comments on commit e238233

Please sign in to comment.