package com.tencent.mm.plugin.appbrand.widget;

import android.text.Spannable;
import android.text.Spannable.Factory;
import android.text.TextUtils;
import com.tencent.matrix.trace.core.AppMethodBeat;

class d$1 extends Factory {
    final /* synthetic */ d iTX;

    d$1(d dVar) {
        this.iTX = dVar;
    }

    public final Spannable newSpannable(CharSequence charSequence) {
        AppMethodBeat.i(126657);
        Spannable newSpannable = super.newSpannable(charSequence);
        if (!(d.a(this.iTX) == null || TextUtils.isEmpty(newSpannable))) {
            newSpannable.setSpan(d.a(this.iTX), 0, newSpannable.length(), 18);
        }
        AppMethodBeat.o(126657);
        return newSpannable;
    }
}
