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

Commit e54e5002 authored by nicolasroard's avatar nicolasroard Committed by Android Git Automerger
Browse files

am 15a056e3: Fix crash in Curves module

* commit '15a056e3':
  Fix crash in Curves module
parents 2f4ec4f1 15a056e3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -94,6 +94,10 @@ public class ImageCurves extends ImageSlave {
            mLastPreset = getImagePreset();
        }

        if (curves() == null) {
            return;
        }

        if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.RED) {
            drawHistogram(canvas, redHistogram, Color.RED, PorterDuff.Mode.SCREEN);
        }