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

Commit 49a06ae9 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Enable new ripple

Fixes: 183150223
Test: manual
Test: atest -it CtsGraphicsTestCases
Change-Id: I928ba73c9bcbb034760cb75841b54bbaf86bb520
parent c7a5fdd8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@ import android.graphics.RecordingCanvas;
import android.graphics.Rect;
import android.graphics.Shader;
import android.os.Build;
import android.os.SystemProperties;
import android.util.AttributeSet;
import android.view.animation.LinearInterpolator;

@@ -152,8 +151,7 @@ public class RippleDrawable extends LayerDrawable {
    private static final int MAX_RIPPLES = 10;
    private static final LinearInterpolator LINEAR_INTERPOLATOR = new LinearInterpolator();
    /** Temporary flag for teamfood. **/
    private static final boolean FORCE_PATTERNED_STYLE =
            SystemProperties.getBoolean("persist.material.patternedripple", false);
    private static final boolean FORCE_PATTERNED_STYLE = true;

    private final Rect mTempRect = new Rect();