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

Commit 43d846ae authored by Wale Ogunwale's avatar Wale Ogunwale Committed by android-build-merger
Browse files

Merge "Fix window animation flash issue" am: 1a02a268 am: bb5f6db5 am: 63993f20

am: b3ec0663

Change-Id: I4ce2edb5ad4154676adf58f13447ffd19159d67e
parents 1b219d06 b3ec0663
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -966,7 +966,7 @@ class WindowStateAnimator {
            mDtDy = tmpFloats[Matrix.MSCALE_Y];
            float x = tmpFloats[Matrix.MTRANS_X];
            float y = tmpFloats[Matrix.MTRANS_Y];
            mWin.mShownPosition.set((int) x, (int) y);
            mWin.mShownPosition.set(Math.round(x), Math.round(y));

            // Now set the alpha...  but because our current hardware
            // can't do alpha transformation on a non-opaque surface,
@@ -1059,7 +1059,7 @@ class WindowStateAnimator {
            mDtDy = tmpFloats[Matrix.MSCALE_Y];
            float x = tmpFloats[Matrix.MTRANS_X];
            float y = tmpFloats[Matrix.MTRANS_Y];
            mWin.mShownPosition.set((int) x, (int) y);
            mWin.mShownPosition.set(Math.round(x), Math.round(y));

            mShownAlpha = mAlpha;
        } else {