Revert: Adding getContext, startActivity to CordovaInterface

This commit is contained in:
macdonst 2012-06-08 14:38:58 -04:00
parent 95b48705fe
commit 47211f6cb3

View File

@ -19,7 +19,6 @@
package org.apache.cordova.api;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
/**
@ -38,13 +37,6 @@ public interface CordovaInterface {
*/
abstract public void startActivityForResult(IPlugin command, Intent intent, int requestCode);
/**
* Launch an activity for which you would not like a result when it finished.
*
* @param intent The intent to start
*/
abstract public void startActivity(Intent intent);
/**
* Set the plugin to be called when a sub-activity exits.
*
@ -84,6 +76,4 @@ public interface CordovaInterface {
* @return Object or null
*/
public Object onMessage(String id, Object data);
abstract public Context getContext();
}