package com.ss.android.ugc.effectmanager.knadapt;

import X.M12;
import X.OC4;
import X.Q60;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.effectmanager.effect.listener.IFetchFavoriteList;
import com.ss.ugc.effectplatform.model.net.FetchFavoriteListResponse;

public final class ListenerAdaptExtKt$toKNListener$16 implements OC4<FetchFavoriteListResponse> {
    public final /* synthetic */ IFetchFavoriteList $oldListener;

    static {
        Covode.recordClassIndex(125555);
    }

    public ListenerAdaptExtKt$toKNListener$16(IFetchFavoriteList iFetchFavoriteList) {
        this.$oldListener = iFetchFavoriteList;
    }

    public final void onSuccess(FetchFavoriteListResponse fetchFavoriteListResponse) {
        M12.LIZ(fetchFavoriteListResponse);
        this.$oldListener.onSuccess(new com.ss.android.ugc.effectmanager.effect.model.net.FetchFavoriteListResponse(fetchFavoriteListResponse));
    }

    public final void onFail(FetchFavoriteListResponse fetchFavoriteListResponse, Q60 q60) {
        M12.LIZ(q60);
        this.$oldListener.onFailed(ListenerAdaptExtKt.toOldExceptionResult(q60));
    }
}
