package com.bytedance.android.livesdk.livesetting.broadcast;

import android.os.Build;
import com.bytedance.android.live.annotation.Group;
import com.bytedance.android.live.annotation.SettingsKey;
import com.bytedance.android.live_settings.SettingsManager;
import com.bytedance.covode.number.Covode;

@SettingsKey("live_enable_audio_inner_record_Q")
public final class LiveAudioRecordQSetting {
    @Group(isDefault = true, value = "default group")
    public static final boolean DEFAULT = true;
    public static final LiveAudioRecordQSetting INSTANCE = new LiveAudioRecordQSetting();

    static {
        Covode.recordClassIndex(17645);
    }

    public final boolean isEnable() {
        return SettingsManager.INSTANCE.getBooleanValue(LiveAudioRecordQSetting.class);
    }

    public final boolean shouldEnable() {
        if (isEnable() || Build.VERSION.SDK_INT < 29) {
            return true;
        }
        return false;
    }
}
