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

Commit ca6680d2 authored by Sherry Zhou's avatar Sherry Zhou
Browse files

Fix crash in setting matrix in IDENTITY_MATRIX

Flag:  EXEMPT only change in Magic Portrait
Test: atest WeatherEffectsFactory
Bug: 378187976

Change-Id: Id49ce7659e44d91fb8f47b89eb48163b4698d44e
parent 5edfd952
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ abstract class WeatherEffectBase(
    abstract val colorGradingIntensity: Float

    override fun setMatrix(matrix: Matrix) {
        this.parallaxMatrix = matrix
        this.parallaxMatrix.set(matrix)
        adjustCropping(surfaceSize)
    }