package com.bytedance.router.arg;

import X.B6m;
import X.Ls2;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.bytedance.covode.number.Covode;

public final class RouteArgExtension$navArg$2 extends B6m implements Ls2<Bundle> {
    public final /* synthetic */ Activity $this_navArg;

    static {
        Covode.recordClassIndex(37188);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public RouteArgExtension$navArg$2(Activity activity) {
        super(0);
        this.$this_navArg = activity;
    }

    public final Bundle invoke() {
        Intent intent = this.$this_navArg.getIntent();
        if (intent != null) {
            return INVOKEVIRTUAL_com_bytedance_router_arg_RouteArgExtension$navArg$2_com_ss_android_ugc_aweme_lancet_IntentLancet_getExtras(intent);
        }
        return null;
    }

    public static Bundle INVOKEVIRTUAL_com_bytedance_router_arg_RouteArgExtension$navArg$2_com_ss_android_ugc_aweme_lancet_IntentLancet_getExtras(Intent intent) {
        try {
            return intent.getExtras();
        } catch (Exception unused) {
            return null;
        }
    }
}
