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

import X.8Zd;
import X.8Ze;
import X.8ec;
import X.9Fh;
import X.9Ft;
import X.9Fx;
import X.C4580EjI;
import android.content.Context;
import android.os.Build;
import android.widget.FrameLayout;
import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;
import com.ss.android.ugc.aweme.feed.CommonFeedLaunchServiceImpl;
import com.ss.android.ugc.aweme.homepage.experiment.HomepageExperimentServiceImpl;
import com.ss.android.ugc.aweme.homepage.ui.inflate.X2CFragmentMainPageIcon;
import com.ss.android.ugc.aweme.notification.service.NoticeServiceImpl;
import com.ss.android.ugc.aweme.services.MainServiceImpl;
import java.util.List;

public final class InitLegoInflate implements 8Ze {
    static {
        Covode.recordClassIndex(90786);
    }

    public final boolean meetTrigger() {
        return true;
    }

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

    public final boolean serialExecute() {
        return false;
    }

    public final int targetProcess() {
        return 1;
    }

    public final List triggerOtherLegoComponents() {
        return null;
    }

    public final 9Ft triggerType() {
        return 8Zd.LIZ(this);
    }

    public final 9Fx scenesType() {
        return 9Fx.DEFAULT;
    }

    public final 8ec type() {
        return 8ec.MAIN;
    }

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

    public final void run(Context context) {
        MethodCollector.i(2190);
        if (Build.VERSION.SDK_INT >= 24 && context != null) {
            new FrameLayout(context);
        }
        HomepageExperimentServiceImpl.LIZJ().LIZ();
        CommonFeedLaunchServiceImpl.LIZIZ();
        NoticeServiceImpl.LJIIJ();
        MainServiceImpl.createIMainServicebyMonsterPlugin(false).initLegoInflate();
        C4580EjI.LIZ();
        9Fh.LJIILIIL.LIZ(X2CFragmentMainPageIcon.class, new X2CFragmentMainPageIcon());
        MethodCollector.o(2190);
    }
}
