summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-04-23 11:00:37 -0700
committerDoris Liu <tianliu@google.com>2013-04-23 13:28:59 -0700
commit13b2d69f16f1e62d4a65b096258ba688a924034f (patch)
tree354520477f19581e8d25e002616fae14ec263de6 /src/com
parent2ab0ce034ac33477ceb3e403d0a14af29c52c881 (diff)
downloadandroid_packages_apps_Snap-13b2d69f16f1e62d4a65b096258ba688a924034f.tar.gz
android_packages_apps_Snap-13b2d69f16f1e62d4a65b096258ba688a924034f.tar.bz2
android_packages_apps_Snap-13b2d69f16f1e62d4a65b096258ba688a924034f.zip
Fix for popuping being hard to dismiss
Bug: 8688503 Change-Id: I86f1451867d7606060e5f81fdd3b8b0af1e0a6d3
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/PreviewGestures.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/camera/PreviewGestures.java b/src/com/android/camera/PreviewGestures.java
index 90ab075d2..0b80ff688 100644
--- a/src/com/android/camera/PreviewGestures.java
+++ b/src/com/android/camera/PreviewGestures.java
@@ -128,6 +128,11 @@ public class PreviewGestures
mReceivers.add(v);
}
+ public void removeTouchReceiver(View v) {
+ if (mReceivers == null || v == null) return;
+ mReceivers.remove(v);
+ }
+
public void addUnclickableArea(View v) {
if (mUnclickableAreas == null) {
mUnclickableAreas = new ArrayList<View>();