package com.ss.android.ugc.aweme.notification.service;

import X.C4061Eav;
import X.C4072Eb6;
import X.Lnj;
import android.os.Message;
import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;
import com.ss.android.ugc.aweme.notice.api.count.OldRedPointService;
import com.ss.android.ugc.aweme.notice.api.count.RedPointService;

public class RedPointServiceImpl implements OldRedPointService, RedPointService {
    public final RedPointService LIZ = C4061Eav.LIZIZ();

    static {
        Covode.recordClassIndex(95741);
    }

    public final void LIZ() {
        this.LIZ.LIZ();
    }

    public static OldRedPointService LIZIZ() {
        MethodCollector.i(9787);
        OldRedPointService oldRedPointService = (OldRedPointService) Lnj.LIZ(OldRedPointService.class, false);
        if (oldRedPointService != null) {
            MethodCollector.o(9787);
            return oldRedPointService;
        }
        Object LIZIZ = Lnj.LIZIZ(OldRedPointService.class, false);
        if (LIZIZ != null) {
            OldRedPointService oldRedPointService2 = (OldRedPointService) LIZIZ;
            MethodCollector.o(9787);
            return oldRedPointService2;
        }
        if (Lnj.L == null) {
            synchronized (OldRedPointService.class) {
                try {
                    if (Lnj.L == null) {
                        Lnj.L = new RedPointServiceImpl();
                    }
                } catch (Throwable th) {
                    MethodCollector.o(9787);
                    throw th;
                }
            }
        }
        RedPointServiceImpl redPointServiceImpl = (RedPointServiceImpl) Lnj.L;
        MethodCollector.o(9787);
        return redPointServiceImpl;
    }

    public final int LIZ(int i) {
        return this.LIZ.LIZ(i);
    }

    public final int LIZIZ(int i) {
        return this.LIZ.LIZIZ(i);
    }

    public final void LIZ(Message message) {
        this.LIZ.LIZ(message);
    }

    public final void LIZ(boolean z) {
        this.LIZ.LIZ(z);
    }

    public final void LIZ(int i, int i2) {
        this.LIZ.LIZ(i, i2);
    }

    public final void LIZ(int i, C4072Eb6 eb6) {
        this.LIZ.LIZ(i, eb6);
    }

    public final void LIZ(boolean z, int i) {
        this.LIZ.LIZ(z, i);
    }
}
