package a3;

import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.preference.ListPreference;

/* JADX INFO: loaded from: classes.dex */
public final class h implements q {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static h f260a;

    @Override // a3.q
    @Nullable
    public CharSequence provideSummary(@NonNull ListPreference listPreference) {
        if (!TextUtils.isEmpty(listPreference.getEntry())) {
            return listPreference.getEntry();
        }
        return listPreference.f3566a.getString(n0.not_set);
    }
}
