package a3;

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

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

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

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