diff options
author | Paul Rohde <codelogic@google.com> | 2014-12-05 12:17:15 -0800 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2018-11-20 12:32:17 +0000 |
commit | 6612b3c922aa9045342794f3d2ae19cf52ded79b (patch) | |
tree | e72cf8d7f00f6f8d592938755c922ab377ba10d0 /src/com/android/camera/VideoModule.java | |
parent | b582d34c06a29df7bd2325f33b722b9961c0a68a (diff) | |
download | android_packages_apps_Snap-6612b3c922aa9045342794f3d2ae19cf52ded79b.tar.gz android_packages_apps_Snap-6612b3c922aa9045342794f3d2ae19cf52ded79b.tar.bz2 android_packages_apps_Snap-6612b3c922aa9045342794f3d2ae19cf52ded79b.zip |
Drop new focus indicator into Camera2.
* Create a new custom focus view that interacts with physical lens diopter changes.
* Replace all occurances of the old focus indicator with the new one.
Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
-rw-r--r-- | src/com/android/camera/VideoModule.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java index 12e045440..71ded0596 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); + mActivity.getMainLooper(), mUI.getFocusRing(), mActivity); } } @@ -3405,7 +3405,6 @@ public class VideoModule implements CameraModule, if (mParameters.getMaxNumDetectedFaces() > 0) { mFaceDetectionStarted = false; mCameraDevice.setFaceDetectionCallback(null, null); - mUI.pauseFaceDetection(); mCameraDevice.stopFaceDetection(); mUI.onStopFaceDetection(); } |