summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2010-04-08 18:22:30 +0800
committerOwen Lin <owenlin@google.com>2010-04-08 18:22:30 +0800
commita30b554cc3707638172f8072f437cf8627dedda0 (patch)
treeded1ff775c32e9ec7674827d7304f60ea724439c
parent0820de66481ba2e26c116dfa0a17ac470f11cf22 (diff)
downloadLegacyCamera-a30b554cc3707638172f8072f437cf8627dedda0.zip
LegacyCamera-a30b554cc3707638172f8072f437cf8627dedda0.tar.gz
LegacyCamera-a30b554cc3707638172f8072f437cf8627dedda0.tar.bz2
Fix a typo in the code.
Bug: 2580309 Change-Id: I25ade485a56230b919d07698e1f9d9f25baaa5b8
-rw-r--r--src/com/android/camera/ui/GLRootView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/GLRootView.java b/src/com/android/camera/ui/GLRootView.java
index 33aa736..ce97cf5 100644
--- a/src/com/android/camera/ui/GLRootView.java
+++ b/src/com/android/camera/ui/GLRootView.java
@@ -439,7 +439,7 @@ public class GLRootView extends GLSurfaceView
@Override
public boolean dispatchTouchEvent(MotionEvent event) {
// If this has been detached from root, we don't need to handle event
- if (mIsQueueActive) return false;
+ if (!mIsQueueActive) return false;
FutureTask<Boolean> task = new FutureTask<Boolean>(
new TouchEventHandler(event));
queueEventOrThrowException(task);