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

Commit a6591448 authored by John Reck's avatar John Reck
Browse files

Don't film strip animate when switching cameras

 Bug: 7265781

Change-Id: Ibdef7d804923094f3b26471726a642a1b68e9540
parent 7ca5aedd
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -319,10 +319,10 @@ class PositionController {
        b.mImageW = width;
        b.mImageH = height;

        // If this is the first time we receive an image size, we change the
        // scale directly. Otherwise adjust the scales by a ratio, and snapback
        // will animate the scale into the min/max bounds if necessary.
        if (wasViewSize && !isViewSize) {
        // If this is the first time we receive an image size or we are in fullscreen,
        // we change the scale directly. Otherwise adjust the scales by a ratio,
        // and snapback will animate the scale into the min/max bounds if necessary.
        if ((wasViewSize && !isViewSize) || !mFilmMode) {
            b.mCurrentScale = getMinimalScale(b);
            b.mAnimationStartTime = NO_ANIMATION;
        } else {