package com.ss.android.ugc.aweme.miniapp.abtest;

import X.AnonymousClass9Y3;
import X.C22428Zd;
import X.C22438Ze;
import X.C25518ec;
import X.C42599Es;
import X.C42869Ft;
import X.C42909Fx;
import X.M12;
import X.Tnp;
import android.content.Context;
import com.bytedance.covode.number.Covode;
import com.bytedance.ies.abmock.ClientExpManager;
import java.util.List;

public final class MiniAppPluginInstallABTask implements C22438Ze {
    static {
        Covode.recordClassIndex(92151);
    }

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

    public final boolean serialExecute() {
        return false;
    }

    public final int targetProcess() {
        return 17;
    }

    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.BOOT_FINISH;
    }

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

    public final boolean meetTrigger() {
        if (!((Boolean) Tnp.LJIILIIL.getValue()).booleanValue()) {
            return true;
        }
        return false;
    }

    public final void run(Context context) {
        M12.LIZ(context);
        try {
            int LIZ = AnonymousClass9Y3.LIZ().LIZ("miniapp_plugin_install_strategy", ClientExpManager.miniapp_plugin_install_strategy());
            if (LIZ != 0) {
                if (LIZ != 1) {
                    C42599Es.LIZ.LIZ(C25518ec.BOOT_FINISH);
                    return;
                }
                return;
            }
        } catch (Throwable unused) {
        }
        C42599Es.LIZ.LIZ(C25518ec.BOOT_FINISH);
    }
}
