summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/net/hoopajoo/android/SoftKeys/SoftKeysService.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java b/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java
index 0795e03..f16486b 100644
--- a/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java
+++ b/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java
@@ -339,9 +339,12 @@ public class SoftKeysService extends Service {
b.setOnLongClickListener( new OnLongClickListener() {
@Override
public boolean onLongClick( View v ) {
- mExtraEnabled = ! mExtraEnabled;
- matchExtraView();
- return true;
+ if( ! mDidDrag ) {
+ mExtraEnabled = ! mExtraEnabled;
+ matchExtraView();
+ return true;
+ }
+ return false;
}
} );