incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject android commit: Revert: Adding getContext, startActivity to CordovaInterface
Date Fri, 08 Jun 2012 18:39:14 GMT
Updated Branches:
  refs/heads/master 95b48705f -> 47211f6cb


Revert: Adding getContext, startActivity to CordovaInterface


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/47211f6c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/47211f6c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/47211f6c

Branch: refs/heads/master
Commit: 47211f6cb31116de702e31f965944afb0d896ffb
Parents: 95b4870
Author: macdonst <simon.macdonald@gmail.com>
Authored: Fri Jun 8 14:38:58 2012 -0400
Committer: macdonst <simon.macdonald@gmail.com>
Committed: Fri Jun 8 14:38:58 2012 -0400

----------------------------------------------------------------------
 .../org/apache/cordova/api/CordovaInterface.java   |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/47211f6c/framework/src/org/apache/cordova/api/CordovaInterface.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/api/CordovaInterface.java b/framework/src/org/apache/cordova/api/CordovaInterface.java
index 0242aa7..46b692b 100755
--- a/framework/src/org/apache/cordova/api/CordovaInterface.java
+++ b/framework/src/org/apache/cordova/api/CordovaInterface.java
@@ -19,7 +19,6 @@
 package org.apache.cordova.api;
 
 import android.app.Activity;
-import android.content.Context;
 import android.content.Intent;
 
 /**
@@ -39,13 +38,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.
      *
      * @param plugin      The plugin on which onActivityResult is to be called
@@ -84,6 +76,4 @@ public interface CordovaInterface {
      * @return              Object or null
      */
     public Object onMessage(String id, Object data);
-
-    abstract public Context getContext();
 }


Mime
View raw message