summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2011-02-15 22:34:16 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2011-02-15 22:34:16 (GMT)
commitb6f04000e907088696eaf8d104cccf1ec0167286 (patch)
tree65b91d1b95d4bccaf66e0db197958c6df5a39518 /src
parentc6db0418fabf8718c19cf5326c2dc72d4581a319 (diff)
downloadSoftKeys-b6f04000e907088696eaf8d104cccf1ec0167286.zip
SoftKeys-b6f04000e907088696eaf8d104cccf1ec0167286.tar.gz
SoftKeys-b6f04000e907088696eaf8d104cccf1ec0167286.tar.bz2
Fix dragging popper causes dpad to toggle bug (longclick/drag interaction)HEADv3.08master
Diffstat (limited to 'src')
-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;
}
} );