package com.ss.android.ugc.aweme.shortvideo.mvtemplate.preview;

import X.0CB;
import X.0CH;
import X.0CN;
import X.6Is;
import X.C5099OIk;
import X.C5105OIq;
import X.C5107OIs;
import com.bytedance.covode.number.Covode;

public final class PreviewVideoScene$onActivityCreated$3 implements 6Is {
    public final /* synthetic */ C5099OIk LIZ;

    static {
        Covode.recordClassIndex(111522);
    }

    public final void onStateChanged(0CH r2, 0CB r3) {
        if (r3 == 0CB.ON_RESUME) {
            onResume();
        }
    }

    @0CN(LIZ = 0CB.ON_RESUME)
    public final void onResume() {
        C5107OIs oIs;
        if (this.LIZ.LJIIIIZZ == C5105OIq.FILE_DELETED) {
            C5107OIs oIs2 = this.LIZ.LJIIJ;
            if (oIs2 != null) {
                oIs2.LIZ(2131825793);
            }
        } else if (this.LIZ.LJIIIIZZ == C5105OIq.DISABLE_4K && (oIs = this.LIZ.LJIIJ) != null) {
            oIs.LIZ(2131834539);
        }
    }

    public PreviewVideoScene$onActivityCreated$3(C5099OIk oIk) {
        this.LIZ = oIk;
    }
}
