package com.bytedance.sdk.openadsdk.core.dsz.ro;

import android.content.Context;
import android.text.TextUtils;
import com.bytedance.sdk.component.utils.maa;

/* JADX INFO: loaded from: classes2.dex */
public class fm extends com.bytedance.adsdk.ugeno.ef.ajl.ro {
    public fm(Context context) {
        super(context);
    }

    @Override // com.bytedance.adsdk.ugeno.ef.ajl.ro
    public void onz(String str) {
        super.onz(str);
        if (TextUtils.isEmpty(str) || TextUtils.equals("null", str)) {
            return;
        }
        try {
            String str2 = String.format(maa.fm(this.ro, "tt_comment_num"), Integer.valueOf(Integer.parseInt(str)));
            ((com.bytedance.adsdk.ugeno.ef.ajl.fm) this.jnr).setText("(" + str2 + ")");
        } catch (Exception unused) {
        }
    }
}
