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

Commit bc3f7361 authored by Zoey Chen's avatar Zoey Chen
Browse files

[Settings] Fix crash

Bug: 366361808
Change-Id: I3f804685e215ed07b71a5efd51c9da9c5b978279
Test: manual
Flag: EXEMPT bugfix
parent 2f554f26
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -21,6 +21,8 @@ import android.util.AttributeSet;
import android.view.View;
import android.view.View;
import android.widget.ImageView;
import android.widget.ImageView;


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


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


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

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