summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2011-01-11 21:16:00 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2011-01-11 21:16:00 (GMT)
commite0ea3a800f3ca1cf1d1eac60f3e8a3c4fe8ef3eb (patch)
tree6e93a63692a1923644bd2284608cbee563929500 /src/net
parent3c90e65ddb20cf1835779ac116bd3d9dc568931b (diff)
downloadSoftKeys-e0ea3a800f3ca1cf1d1eac60f3e8a3c4fe8ef3eb.zip
SoftKeys-e0ea3a800f3ca1cf1d1eac60f3e8a3c4fe8ef3eb.tar.gz
SoftKeys-e0ea3a800f3ca1cf1d1eac60f3e8a3c4fe8ef3eb.tar.bz2
Remove all notification intent handling
Diffstat (limited to 'src/net')
-rw-r--r--src/net/hoopajoo/android/SoftKeys/SendInput.java27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/net/hoopajoo/android/SoftKeys/SendInput.java b/src/net/hoopajoo/android/SoftKeys/SendInput.java
index e54d0e8..dd15179 100644
--- a/src/net/hoopajoo/android/SoftKeys/SendInput.java
+++ b/src/net/hoopajoo/android/SoftKeys/SendInput.java
@@ -60,10 +60,6 @@ import android.widget.Toast;
// this is just a stub to handle intent calls
public class SendInput extends Activity {
public static String ACTION_CODE = "net.hoopajoo.android.SoftKeys.KEY_CODE";
- public static String ACTION_HOME = "net.hoopajoo.android.SoftKeys.KEY_HOME";
- public static String ACTION_MENU = "net.hoopajoo.android.SoftKeys.KEY_MENU";
- public static String ACTION_SEARCH = "net.hoopajoo.android.SoftKeys.KEY_SEARCH";
- public static String ACTION_BACK = "net.hoopajoo.android.SoftKeys.KEY_BACK";
/** Called when the activity is first created. */
@Override
@@ -98,28 +94,7 @@ public class SendInput extends Activity {
}
}
- if( action.equals( ACTION_HOME ) ) {
- app.doHomeAction( false );
- this.finish();
- return;
- }
-
- if( action.equals( ACTION_BACK ) ) {
- keyid = K.KEYID_BACK;
- }
-
- if( action.equals( ACTION_MENU ) ) {
- keyid = K.KEYID_MENU;
- }
-
- if( action.equals( ACTION_SEARCH ) ) {
- keyid = K.KEYID_SEARCH;
- }
-
- if( keyid != 0 ) {
- //Log.d( "SoftKeys.SendInput", "resolved key: " + keyid );
- app.sendKeys( new int[] { keyid } );
- }
+
this.finish();
}