You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bc...@apache.org on 2012/01/25 05:42:54 UTC

git commit: Remove unused files/classes until they are needed.

Updated Branches:
  refs/heads/master e30896155 -> e1e04f859


Remove unused files/classes until they are needed.


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/e1e04f85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/e1e04f85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/e1e04f85

Branch: refs/heads/master
Commit: e1e04f859cb0446f52c98ca28c55488604a51cf9
Parents: e308961
Author: Bryce Curtis <cu...@gmail.com>
Authored: Tue Jan 24 22:42:41 2012 -0600
Committer: Bryce Curtis <cu...@gmail.com>
Committed: Tue Jan 24 22:42:41 2012 -0600

----------------------------------------------------------------------
 framework/libs/junit-4.10.jar                   |  Bin 253160 -> 0 bytes
 framework/res/xml/plugins.xml                   |    1 -
 framework/src/com/phonegap/KeyboardHandler.java |   33 ------------------
 3 files changed, 0 insertions(+), 34 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/e1e04f85/framework/libs/junit-4.10.jar
----------------------------------------------------------------------
diff --git a/framework/libs/junit-4.10.jar b/framework/libs/junit-4.10.jar
deleted file mode 100644
index bf5c0b9..0000000
Binary files a/framework/libs/junit-4.10.jar and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/e1e04f85/framework/res/xml/plugins.xml
----------------------------------------------------------------------
diff --git a/framework/res/xml/plugins.xml b/framework/res/xml/plugins.xml
old mode 100644
new mode 100755
index 4d84f59..7316937
--- a/framework/res/xml/plugins.xml
+++ b/framework/res/xml/plugins.xml
@@ -16,5 +16,4 @@
     <plugin name="FileTransfer" value="com.phonegap.FileTransfer"/>
     <plugin name="Capture" value="com.phonegap.Capture"/>
     <plugin name="Battery" value="com.phonegap.BatteryListener"/>
-    <plugin name="Keyboard" value="com.phonegap.KeyboardHandler" />
 </plugins>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/e1e04f85/framework/src/com/phonegap/KeyboardHandler.java
----------------------------------------------------------------------
diff --git a/framework/src/com/phonegap/KeyboardHandler.java b/framework/src/com/phonegap/KeyboardHandler.java
deleted file mode 100644
index d10988c..0000000
--- a/framework/src/com/phonegap/KeyboardHandler.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package com.phonegap;
-
-import org.json.JSONArray;
-
-import com.phonegap.api.Plugin;
-import com.phonegap.api.PluginResult;
-
-public class KeyboardHandler extends Plugin {
-
-    
-    /*
-     * This will never be called! 
-     * (non-Javadoc)
-     * @see com.phonegap.api.Plugin#execute(java.lang.String, org.json.JSONArray, java.lang.String)
-     */
-    @Override
-    public PluginResult execute(String action, JSONArray args, String callbackId) {
-        // TODO Auto-generated method stub
-        return null;
-    }
-
-    public void onMessage(String id, Object data)
-    {
-        if(id.equals("keyboardHidden"))
-        {
-            super.sendJavascript("PhoneGap.fireDocumentEvent('hidekeyboard');");
-        }
-        else if(id.equals("keyboardVisible"))
-        {
-            super.sendJavascript("PhoneGap.fireDocumentEvent('showkeyboard');");
-        }
-    }
-}