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

import X.0CB;
import X.0CH;
import X.0CN;
import X.6Is;
import X.C5098OIj;
import X.C5107OIs;
import android.widget.ImageView;
import com.bytedance.covode.number.Covode;
import kotlin.h.b.n;

public final class PreviewImageScene$onActivityCreated$1 implements 6Is {
    public final /* synthetic */ C5098OIj LIZ;

    static {
        Covode.recordClassIndex(111521);
    }

    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;
        ImageView imageView = this.LIZ.LJIIL;
        if (imageView == null) {
            n.LIZ("");
        }
        if (imageView.getVisibility() == 0 && (oIs = this.LIZ.LJIIIIZZ) != null) {
            oIs.LIZ(2131827974);
        }
    }

    public PreviewImageScene$onActivityCreated$1(C5098OIj oIj) {
        this.LIZ = oIj;
    }
}
