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

Commit 7f000afc authored by Daniel Norman's avatar Daniel Norman
Browse files

fix(expressive): Remove expressive background for color correction preview

Fix: 408305285
Test: observe background is gone; see screenshots in bug
Flag: EXEMPT low risk cleanup
Change-Id: I44710ad14d28d1c660faa46a4392cf443f576d0d
parent 1c1dd907
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<>();