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

Commit cd351c49 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov Committed by Android (Google) Code Review
Browse files

Merge "[SB] Remove outdated TODOs in chip model classes." into main

parents bf263412 098a5f2a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -46,8 +46,9 @@ sealed interface ColorsModel {
    }

    /** The chip should match the system theme main color. */
    // TODO(b/347717946): The chip's color isn't getting updated when the user switches theme, it
    // only gets updated when a different configuration change happens, like a rotation.
    // Note: When StatusBarChipsModernization is disabled, the chip's color doesn't get
    // updated when the user switches theme. It only gets updated when a different
    // configuration change happens, like a rotation.
    data object SystemThemed : ColorsModel {
        override fun background(context: Context): ColorStateList =
            ColorStateList.valueOf(
+0 −1
Original line number Diff line number Diff line
@@ -235,7 +235,6 @@ sealed class OngoingActivityChipModel {
            override val isImportantForPrivacy: Boolean = false,
            override val icon: ChipIcon,
            override val colors: ColorsModel,
            // TODO(b/361346412): Enforce a max length requirement?
            val text: String,
            override val onClickListenerLegacy: View.OnClickListener? = null,
            override val clickBehavior: ClickBehavior,