diff options
author | Doris Liu <tianliu@google.com> | 2013-04-16 09:50:56 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2013-04-18 13:59:42 -0700 |
commit | 9cdfe00cf57f05f81e6d02ca050e6afd8cc4a25f (patch) | |
tree | 6460980a3be0f75d4dcd5b34fe966b2882caa17c /src/com/android/camera/PhotoUI.java | |
parent | 172d37e178a33fd1138d7e3a9b08f8c541959cc3 (diff) | |
download | android_packages_apps_Snap-9cdfe00cf57f05f81e6d02ca050e6afd8cc4a25f.tar.gz android_packages_apps_Snap-9cdfe00cf57f05f81e6d02ca050e6afd8cc4a25f.tar.bz2 android_packages_apps_Snap-9cdfe00cf57f05f81e6d02ca050e6afd8cc4a25f.zip |
Allow swiping to filmstrip from blocker bar
Bug: 8607910
Change-Id: I69bfcf8d95d6071be7d65fbf433916740cbb655c
Diffstat (limited to 'src/com/android/camera/PhotoUI.java')
-rw-r--r-- | src/com/android/camera/PhotoUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java index 53fdc969e..fd148bad7 100644 --- a/src/com/android/camera/PhotoUI.java +++ b/src/com/android/camera/PhotoUI.java @@ -180,10 +180,10 @@ public class PhotoUI implements PieListener, mGestures = new PreviewGestures(mActivity, this, mZoomRenderer, mPieRenderer, this); } - mGestures.clearTouchReceivers(); + mGestures.reset(); mGestures.setRenderOverlay(mRenderOverlay); mGestures.addTouchReceiver(mMenuButton); - mGestures.addTouchReceiver(mBlocker); + mGestures.addUnclickableArea(mBlocker); // make sure to add touch targets for image capture if (mController.isImageCaptureIntent()) { if (mReviewCancelButton != null) { |