From 76f278f40ba71d072a38c439119198109787a764 Mon Sep 17 00:00:00 2001 From: Sultanxda Date: Sat, 26 Mar 2016 04:45:50 -0700 Subject: Snap: Don't do touch-to-focus on top of UI elements Don't process touch-to-focus for taps that are located on either the top or bottom UI panes. Change-Id: Iac4ccda8625080ff0bd1133ac339e53c423b626d Signed-off-by: Sultanxda --- src/com/android/camera/VideoModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/camera/VideoModule.java') diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java index c49fa7c4d..12e045440 100644 --- a/src/com/android/camera/VideoModule.java +++ b/src/com/android/camera/VideoModule.java @@ -1481,7 +1481,7 @@ public class VideoModule implements CameraModule, R.array.pref_video_focusmode_default_array); mFocusManager = new FocusOverlayManager(mPreferences, defaultFocusModes, mParameters, this, mirror, - mActivity.getMainLooper(), mUI); + mActivity.getMainLooper(), mUI, mActivity); } } -- cgit v1.2.3