diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2011-02-15 22:34:16 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2011-02-15 22:34:16 (GMT) |
commit | b6f04000e907088696eaf8d104cccf1ec0167286 (patch) | |
tree | 65b91d1b95d4bccaf66e0db197958c6df5a39518 /src/net/hoopajoo | |
parent | c6db0418fabf8718c19cf5326c2dc72d4581a319 (diff) | |
download | SoftKeys-master.zip SoftKeys-master.tar.gz SoftKeys-master.tar.bz2 |
Diffstat (limited to 'src/net/hoopajoo')
-rw-r--r-- | src/net/hoopajoo/android/SoftKeys/SoftKeysService.java | 9 |
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; } } ); |