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

import X.0CB;
import X.0CH;
import X.0CN;
import X.1hK;
import X.6Is;
import X.C35223j0;
import com.bytedance.covode.number.Covode;

public class AVPublishServiceImpl$4 implements 6Is {
    public final /* synthetic */ AVPublishServiceImpl this$0;
    public final /* synthetic */ 1hK val$activity;
    public final /* synthetic */ C35223j0 val$popWindow;

    static {
        Covode.recordClassIndex(104992);
    }

    public void onStateChanged(0CH r2, 0CB r3) {
        if (r3 == 0CB.ON_DESTROY) {
            onDestroy();
        }
    }

    @0CN(LIZ = 0CB.ON_DESTROY)
    public void onDestroy() {
        this.val$activity.getLifecycle().LIZIZ(this);
        this.val$popWindow.dismiss();
    }

    public AVPublishServiceImpl$4(AVPublishServiceImpl aVPublishServiceImpl, 1hK r2, C35223j0 r3) {
        this.this$0 = aVPublishServiceImpl;
        this.val$activity = r2;
        this.val$popWindow = r3;
    }
}
