package com.ss.android.ugc.aweme.account.login.v2.base;

import X.0CB;
import X.0CH;
import X.0CN;
import X.6Is;
import X.C2345Rwj;
import com.bytedance.covode.number.Covode;

public final class CommonFlowActivity$Companion$addResult$1 implements 6Is {
    public final /* synthetic */ int LIZ;
    public final /* synthetic */ 0CH LIZIZ;

    static {
        Covode.recordClassIndex(51458);
    }

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

    @0CN(LIZ = 0CB.ON_DESTROY)
    public final void onDestroy() {
        CommonFlowActivity.LJI.remove(this.LIZ);
        this.LIZIZ.getLifecycle().LIZIZ(this);
        C2345Rwj.LIZ();
    }

    public CommonFlowActivity$Companion$addResult$1(int i, 0CH r2) {
        this.LIZ = i;
        this.LIZIZ = r2;
    }
}
