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

import X.34K;
import X.AnonymousClass8ZL;
import X.C22428Zd;
import X.C22438Ze;
import X.C25518ec;
import X.C32658q8;
import X.C32918qY;
import X.C42869Ft;
import X.C42909Fx;
import X.IO2;
import X.IO4;
import X.LnX;
import X.M12;
import X.SRR;
import android.content.Context;
import android.text.TextUtils;
import com.bytedance.covode.number.Covode;
import com.bytedance.ies.abmock.SettingsManager;
import com.ss.android.deviceregister.DeviceRegisterManager;
import com.ss.android.ugc.aweme.compliance.api.a;
import com.ss.android.ugc.aweme.services.IMainService;
import com.ss.android.ugc.aweme.services.MainServiceImpl;
import java.util.LinkedHashMap;
import java.util.List;
import kotlin.h.b.n;

public final class FeedRequestParamPreloadTask implements C22438Ze {
    static {
        Covode.recordClassIndex(90433);
    }

    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) {
        M12.LIZ(context);
        if (AnonymousClass8ZL.LJ.LIZJ()) {
            SettingsManager.LIZ().LIZ("network_monitor_config", IO2.class, IO4.LIZ);
            a.LJI().LIZIZ();
            DeviceRegisterManager.getSSIDs(new LinkedHashMap());
            IMainService createIMainServicebyMonsterPlugin = MainServiceImpl.createIMainServicebyMonsterPlugin(false);
            n.LIZIZ(createIMainServicebyMonsterPlugin, "");
            createIMainServicebyMonsterPlugin.isLimitAdTrackingEnabled();
            if (TextUtils.isEmpty(C32918qY.LIZIZ) || C32918qY.LIZIZ()) {
                C32918qY.LIZIZ = C32658q8.LJ(context);
            }
            SRR srr = 34K.LIZ;
            n.LIZIZ(srr, "");
            srr.LIZ(LnX.LIZ());
        }
    }
}
