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

Commit 74976b13 authored by Wu-cheng Li's avatar Wu-cheng Li
Browse files

Do not use card effect for camera screen nail.

bug:6402571
Change-Id: I362e675ea4160b7b940e0da4bd018e0e8c7add57
parent 78824571
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -421,7 +421,7 @@ public class PhotoView extends GLView {
                    (viewH / 2f - r.exactCenterY()) / scale + 0.5f);

            boolean wantsCardEffect = CARD_EFFECT && !mFilmMode
                && !mPictures.get(-1).isCamera();
                && !mPictures.get(-1).isCamera() && !mIsCamera;
            if (wantsCardEffect) {
                // Calculate the move-out progress value.
                int left = r.left;