Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 445732cd authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Revert "camera: improve snapshot KPI"

This reverts commit 1a0e156e.

Change-Id: Ie02a04f60af4d6896057890ef81fa058494605e8
parent 1a0e156e
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -784,14 +784,6 @@ public class PhotoModule
            mRawPictureCallbackTime = System.currentTimeMillis();
            Log.v(TAG, "mShutterToRawCallbackTime = "
                    + (mRawPictureCallbackTime - mShutterCallbackTime) + "ms");
            if (ApiHelper.HAS_SURFACE_TEXTURE && !mIsImageCaptureIntent
                    && mActivity.mShowCameraAppView) {
                // Finish capture animation
                mHandler.removeMessages(CAPTURE_ANIMATION_DONE);
                ((CameraScreenNail) mActivity.mCameraScreenNail).animateSlide();
                mHandler.sendEmptyMessageDelayed(CAPTURE_ANIMATION_DONE,
                        CaptureAnimManager.getAnimationDuration());
            }
        }
    }

@@ -834,6 +826,14 @@ public class PhotoModule
            // Only animate when in full screen capture mode
            // i.e. If monkey/a user swipes to the gallery during picture taking,
            // don't show animation
            if (ApiHelper.HAS_SURFACE_TEXTURE && !mIsImageCaptureIntent
                    && mActivity.mShowCameraAppView) {
                // Finish capture animation
                mHandler.removeMessages(CAPTURE_ANIMATION_DONE);
                ((CameraScreenNail) mActivity.mCameraScreenNail).animateSlide();
                mHandler.sendEmptyMessageDelayed(CAPTURE_ANIMATION_DONE,
                        CaptureAnimManager.getAnimationDuration());
            }
            mFocusManager.updateFocusUI(); // Ensure focus indicator is hidden.

            boolean isSamsungHDR =