mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
Updated tweaks to get up and running
This commit is contained in:
@@ -69,7 +69,7 @@ public class ActivityPlugin extends Plugin {
|
||||
|
||||
public void startActivity(String className) {
|
||||
try {
|
||||
Intent intent = new Intent().setClass(this.ctx.getContext(), Class.forName(className));
|
||||
Intent intent = new Intent().setClass(this.ctx, Class.forName(className));
|
||||
LOG.d(TAG, "Starting activity %s", className);
|
||||
this.ctx.startActivity(intent);
|
||||
} catch (ClassNotFoundException e) {
|
||||
|
||||
Reference in New Issue
Block a user