package com.ss.android.ugc.aweme.legoImp.task;

import X.AnonymousClass9D1;
import X.C12337yS;
import X.C22428Zd;
import X.C22438Ze;
import X.C25518ec;
import X.C41809Br;
import X.C42869Ft;
import X.C42909Fx;
import X.ESC;
import X.FLI;
import X.M12;
import android.app.Application;
import android.content.Context;
import com.bytedance.covode.number.Covode;
import com.ss.android.common.applog.AppLog;
import com.ss.android.ugc.aweme.compliance.api.a;
import java.util.List;
import kotlin.h.b.n;

public final class AppLogInitTask implements C22438Ze {
    static {
        Covode.recordClassIndex(90395);
    }

    public final boolean meetTrigger() {
        return true;
    }

    public final String prefix() {
        return "task_";
    }

    public final boolean serialExecute() {
        return false;
    }

    public final int targetProcess() {
        return 1048575;
    }

    public final List triggerOtherLegoComponents() {
        return null;
    }

    public final C42869Ft triggerType() {
        return C22428Zd.LIZ(this);
    }

    public final C42909Fx scenesType() {
        return C42909Fx.DEFAULT;
    }

    public final C25518ec type() {
        return C25518ec.BACKGROUND;
    }

    public final String key() {
        return getClass().getSimpleName();
    }

    public final void run(Context context) {
        boolean LIZLLL;
        List<String> list;
        M12.LIZ(context);
        AppLog.registerLogRequestCallback(new AnonymousClass9D1());
        if (a.LJIILLIIL().LJIIIZ()) {
            LIZLLL = C12337yS.LIZLLL.LIZJ();
        } else {
            LIZLLL = ESC.LIZLLL();
        }
        AppLog.setChildModeBeforeInit(LIZLLL);
        if (LIZLLL) {
            list = a.LJIILLIIL().LIZLLL();
        } else {
            list = null;
        }
        AppLog.setWhiteEventFilterForChildMode(list);
        Application LIZ = FLI.LIZ();
        n.LIZIZ(LIZ, "");
        C41809Br.LIZ(LIZ);
    }
}
