package com.facebook.share.widget;

import android.os.Bundle;
import com.facebook.internal.AppCall;
import com.facebook.internal.DialogPresenter.ParameterProvider;
import com.facebook.share.internal.LegacyNativeDialogParameters;
import com.facebook.share.internal.NativeDialogParameters;
import com.facebook.share.model.ShareContent;
import com.facebook.share.widget.ShareDialog.NativeHandler;
import com.tencent.matrix.trace.core.AppMethodBeat;

class ShareDialog$NativeHandler$1 implements ParameterProvider {
    final /* synthetic */ NativeHandler this$1;
    final /* synthetic */ AppCall val$appCall;
    final /* synthetic */ ShareContent val$content;
    final /* synthetic */ boolean val$shouldFailOnDataError;

    ShareDialog$NativeHandler$1(NativeHandler nativeHandler, AppCall appCall, ShareContent shareContent, boolean z) {
        this.this$1 = nativeHandler;
        this.val$appCall = appCall;
        this.val$content = shareContent;
        this.val$shouldFailOnDataError = z;
    }

    public Bundle getParameters() {
        AppMethodBeat.i(97689);
        Bundle create = NativeDialogParameters.create(this.val$appCall.getCallId(), this.val$content, this.val$shouldFailOnDataError);
        AppMethodBeat.o(97689);
        return create;
    }

    public Bundle getLegacyParameters() {
        AppMethodBeat.i(97690);
        Bundle create = LegacyNativeDialogParameters.create(this.val$appCall.getCallId(), this.val$content, this.val$shouldFailOnDataError);
        AppMethodBeat.o(97690);
        return create;
    }
}
