summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/GLRootView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ui/GLRootView.java')
-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);