package com.bytedance.android.opt.livesdk.init;

import X.0cm;
import X.7g6;
import com.bytedance.android.live.gift.IGiftService;
import com.bytedance.android.livesdk.livesetting.gift.LiveGiftPanelOptimizeSetting;
import com.bytedance.covode.number.Covode;

public class GiftPreloadTask extends 7g6 {
    static {
        Covode.recordClassIndex(22983);
    }

    public String getTaskName() {
        return "gift_preload_task";
    }

    public void run() {
        if (LiveGiftPanelOptimizeSetting.INSTANCE.getValue() == 1) {
            0cm.LIZ(IGiftService.class).syncGiftList(1);
        }
    }
}
