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

Commit b2f88a16 authored by Mady Mellor's avatar Mady Mellor Committed by Android (Google) Code Review
Browse files

Merge "Maybe fix NPE - don't notifyChange if selected visibility is the same" into main

parents 8d6c004a 34677c7b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -80,9 +80,11 @@ public class BubblePreference extends Preference implements RadioGroup.OnChecked
    }

    public void setSelectedVisibility(boolean visible) {
        if (mSelectedVisible != visible) {
            mSelectedVisible = visible;
            notifyChanged();
        }
    }

    @Override
    public void onBindViewHolder(@NonNull final PreferenceViewHolder holder) {