mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
Fixing CB-1801
This commit is contained in:
@@ -51,7 +51,8 @@ public class CordovaTest extends
|
||||
String className = testView.getClass().getSimpleName();
|
||||
assertTrue(className.equals("CordovaWebView"));
|
||||
}
|
||||
/*
|
||||
|
||||
/*
|
||||
public void testForPluginManager() {
|
||||
CordovaWebView v = (CordovaWebView) testView;
|
||||
PluginManager p = v.getPluginManager();
|
||||
|
||||
@@ -69,9 +69,9 @@ public class CordovaWebViewTestActivity extends Activity implements CordovaInter
|
||||
|
||||
}
|
||||
|
||||
//Note: This must always return an activity!
|
||||
public Activity getActivity() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
|
||||
Reference in New Issue
Block a user