public boolean invoke(AppRequestData paramAppRequestData) { HttpRequest localHttpRequest = applyMultipartDataTo( applyHeadersTo(getHttpRequest(), paramAppRequestData), paramAppRequestData); Fabric.getLogger().d("Fabric", "Sending app info to " + getUrl()); if (paramAppRequestData.icon != null) { Fabric.getLogger().d("Fabric", "App icon hash is " + paramAppRequestData.icon.hash); Fabric.getLogger() .d( "Fabric", "App icon size is " + paramAppRequestData.icon.width + "x" + paramAppRequestData.icon.height); } int i = localHttpRequest.code(); if ("POST".equals(localHttpRequest.method())) {} for (paramAppRequestData = "Create"; ; paramAppRequestData = "Update") { Fabric.getLogger() .d( "Fabric", paramAppRequestData + " app request ID: " + localHttpRequest.header("X-REQUEST-ID")); Fabric.getLogger().d("Fabric", "Result was " + i); if (ResponseParser.parse(i) != 0) { break; } return true; } return false; }
public boolean invoke(CreateReportRequest createreportrequest) { createreportrequest = applyMultipartDataTo( applyHeadersTo(getHttpRequest(), createreportrequest), createreportrequest); Fabric.getLogger() .d( "CrashlyticsCore", (new StringBuilder()).append("Sending report to: ").append(getUrl()).toString()); int i = createreportrequest.code(); Fabric.getLogger() .d( "CrashlyticsCore", (new StringBuilder()) .append("Create report request ID: ") .append(createreportrequest.header("X-REQUEST-ID")) .toString()); Fabric.getLogger() .d("CrashlyticsCore", (new StringBuilder()).append("Result was: ").append(i).toString()); return ResponseParser.parse(i) == 0; }