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

Commit 7e58dae0 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Automerger Merge Worker
Browse files

Merge "Revert "Enable new ripple"" into sc-dev am: f2ab932a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14054280

Change-Id: I60c37c9d61d60c854b465389aa975a58a286b1de
parents f149e345 f2ab932a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ 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;

@@ -151,7 +152,8 @@ 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 = true;
    private static final boolean FORCE_PATTERNED_STYLE =
            SystemProperties.getBoolean("persist.material.patternedripple", false);

    private final Rect mTempRect = new Rect();