package com.ss.android.ugc.aweme.detail.panel;

import X.AnonymousClass2GO;
import X.BP4;
import X.M12;
import X.TnV;
import android.app.Activity;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.poi_api.service.IPoiService;
import kotlin.h.b.n;

public final class PoiCollectPanel extends DetailFragmentPanel implements AnonymousClass2GO {
    public final Bundle LIZ;

    static {
        Covode.recordClassIndex(63754);
    }

    public final void LJIIL() {
        if (this.LLL != null) {
            Activity activity = this.LLL;
            n.LIZIZ(activity, "");
            if (!activity.isFinishing() && bt_() != null) {
                IPoiService LIZ2 = BP4.LIZ.LIZ();
                Fragment bt_ = bt_();
                n.LIZIZ(bt_, "");
                LIZ2.LIZ(bt_.getView(), LLLIIIL(), this.LIZ);
            }
        }
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public PoiCollectPanel(TnV tnV, Bundle bundle) {
        super(tnV);
        M12.LIZ(tnV);
        this.LIZ = bundle;
    }
}
