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

Commit bedfb69f authored by Zoey Chen's avatar Zoey Chen Committed by Android (Google) Code Review
Browse files

Merge "[Settings] Fix crash" into main

parents a78f2b83 bc3f7361
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;

import androidx.annotation.Nullable;
import androidx.annotation.NonNull;
import androidx.preference.PreferenceViewHolder;

import com.android.settings.R;
@@ -35,6 +37,10 @@ public class TickButtonPreference extends TwoTargetPreference {
        super(context);
    }

    public TickButtonPreference(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void onBindViewHolder(PreferenceViewHolder holder) {
        super.onBindViewHolder(holder);