mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Changing to CordovaInterface in preparation of CordovaWebView
This commit is contained in:
@@ -22,5 +22,5 @@ package com.phonegap.api;
|
||||
* The Cordova activity abstract class that is extended by DroidGap.
|
||||
* It is used to isolate plugin development, and remove dependency on entire Cordova library.
|
||||
*/
|
||||
public abstract class PhonegapActivity extends org.apache.cordova.api.CordovaActivity {
|
||||
public abstract class PhonegapActivity extends org.apache.cordova.api.CordovaInterface {
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
package com.phonegap.api;
|
||||
|
||||
import org.apache.cordova.api.CordovaActivity;
|
||||
import org.apache.cordova.api.CordovaInterface;
|
||||
|
||||
import android.webkit.WebView;
|
||||
|
||||
@@ -29,7 +29,7 @@ import android.webkit.WebView;
|
||||
*/
|
||||
public class PluginManager extends org.apache.cordova.api.PluginManager {
|
||||
|
||||
public PluginManager(WebView app, CordovaActivity ctx) {
|
||||
public PluginManager(WebView app, CordovaInterface ctx) {
|
||||
super(app, ctx);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user