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

Commit b18aaa49 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "fix(expressive): Remove expressive background for color correction preview" into main

parents 2830e83d 7f000afc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ import androidx.preference.PreferenceViewHolder;

import com.android.settings.R;
import com.android.settingslib.Utils;
import com.android.settingslib.widget.GroupSectionDividerMixin;

import com.google.common.primitives.Floats;
import com.google.common.primitives.Ints;
@@ -56,7 +57,7 @@ import java.util.Locale;
import java.util.stream.Collectors;

/** Preference that easier preview by matching name to color. */
public final class PaletteListPreference extends Preference {
public final class PaletteListPreference extends Preference implements GroupSectionDividerMixin {

    private final List<Integer> mGradientColors = new ArrayList<>();
    private final List<Float> mGradientOffsets = new ArrayList<>();