Search in sources :

Example 1 with NativeCreateReportSpiCall

use of com.google.firebase.crashlytics.internal.report.network.NativeCreateReportSpiCall in project GreenHouse by utsanjan.

the class CrashlyticsController method getCreateReportSpiCall.

/* JADX INFO: Access modifiers changed from: private */
public CreateReportSpiCall getCreateReportSpiCall(String reportsUrl, String ndkReportsUrl) {
    Context context = getContext();
    String overriddenHost = CommonUtils.getStringsFileValue(context, CRASHLYTICS_API_ENDPOINT);
    DefaultCreateReportSpiCall defaultCreateReportSpiCall = new DefaultCreateReportSpiCall(overriddenHost, reportsUrl, this.httpRequestFactory, CrashlyticsCore.getVersion());
    NativeCreateReportSpiCall nativeCreateReportSpiCall = new NativeCreateReportSpiCall(overriddenHost, ndkReportsUrl, this.httpRequestFactory, CrashlyticsCore.getVersion());
    return new CompositeCreateReportSpiCall(defaultCreateReportSpiCall, nativeCreateReportSpiCall);
}
Also used : Context(android.content.Context) NativeCreateReportSpiCall(com.google.firebase.crashlytics.internal.report.network.NativeCreateReportSpiCall) CompositeCreateReportSpiCall(com.google.firebase.crashlytics.internal.report.network.CompositeCreateReportSpiCall) DefaultCreateReportSpiCall(com.google.firebase.crashlytics.internal.report.network.DefaultCreateReportSpiCall)

Aggregations

Context (android.content.Context)1 CompositeCreateReportSpiCall (com.google.firebase.crashlytics.internal.report.network.CompositeCreateReportSpiCall)1 DefaultCreateReportSpiCall (com.google.firebase.crashlytics.internal.report.network.DefaultCreateReportSpiCall)1 NativeCreateReportSpiCall (com.google.firebase.crashlytics.internal.report.network.NativeCreateReportSpiCall)1