package com.ss.android.ugc.aweme.services;

import X.2Pr;
import X.B6m;
import X.Ls2;
import X.LsC;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.shortvideo.mvtemplate.choosemedia.ClosingChooseMediaPageState;
import kotlin.h.b.n;

public final class AlbumServiceImpl$subscribeAlbumClose$2 extends B6m implements LsC<ClosingChooseMediaPageState, 2Pr> {
    public final /* synthetic */ Ls2 $runnable;

    static {
        Covode.recordClassIndex(105009);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public AlbumServiceImpl$subscribeAlbumClose$2(Ls2 ls2) {
        super(1);
        this.$runnable = ls2;
    }

    public final /* bridge */ /* synthetic */ Object invoke(Object obj) {
        invoke((ClosingChooseMediaPageState) obj);
        return 2Pr.LIZ;
    }

    public final void invoke(ClosingChooseMediaPageState closingChooseMediaPageState) {
        M12.LIZ(closingChooseMediaPageState);
        if (n.LIZ(closingChooseMediaPageState, ClosingChooseMediaPageState.Closed.INSTANCE)) {
            this.$runnable.invoke();
        }
    }
}
