package com.ss.android.ugc.aweme.choosemusic.utils.showlistener;

import X.0CB;
import X.0CH;
import X.1Bj;
import X.B9g;
import X.M12;
import X.OU2;
import com.bytedance.covode.number.Covode;

public final class MusicShowOverChecker$startListen$1 implements 1Bj {
    public final /* synthetic */ OU2 LIZ;

    static {
        Covode.recordClassIndex(56395);
    }

    public MusicShowOverChecker$startListen$1(OU2 ou2) {
        this.LIZ = ou2;
    }

    public final void onStateChanged(0CH r3, 0CB r4) {
        M12.LIZ(r3, r4);
        if (!this.LIZ.LIZ) {
            int i = B9g.LIZ[r4.ordinal()];
            if (i == 1 || i == 2 || i == 3) {
                this.LIZ.LIZ(false);
                this.LIZ.LJ();
            }
        }
    }
}
