- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
74 lines
3.1 KiB
Java
74 lines
3.1 KiB
Java
package com.helpshift.network;
|
|
|
|
import com.helpshift.util.Utils;
|
|
import java.io.BufferedReader;
|
|
import java.io.InputStream;
|
|
import java.io.InputStreamReader;
|
|
import javax.net.ssl.HttpsURLConnection;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class HSHttpTransport implements HTTPTransport {
|
|
public final void closeHelpshiftSSLSocketFactorySockets(HttpsURLConnection httpsURLConnection) {
|
|
}
|
|
|
|
public final void fixSSLSocketProtocols(HttpsURLConnection httpsURLConnection) {
|
|
}
|
|
|
|
/* JADX WARN: Not initialized variable reg: 11, insn: 0x03d6: MOVE (r5 I:??[OBJECT, ARRAY]) = (r11 I:??[OBJECT, ARRAY]), block:B:305:0x03d4 */
|
|
/* JADX WARN: Not initialized variable reg: 5, insn: 0x03d5: MOVE (r6 I:??[OBJECT, ARRAY]) = (r5 I:??[OBJECT, ARRAY]), block:B:305:0x03d4 */
|
|
/* JADX WARN: Removed duplicated region for block: B:58:0x0487 A[Catch: Exception -> 0x048b, TRY_LEAVE, TryCatch #24 {Exception -> 0x048b, blocks: (B:56:0x0482, B:58:0x0487), top: B:55:0x0482 }] */
|
|
/* JADX WARN: Removed duplicated region for block: B:61:? A[SYNTHETIC] */
|
|
@Override // com.helpshift.network.HTTPTransport
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public com.helpshift.network.HSResponse makeRequest(com.helpshift.network.HSRequest r20) {
|
|
/*
|
|
Method dump skipped, instructions count: 1169
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.helpshift.network.HSHttpTransport.makeRequest(com.helpshift.network.HSRequest):com.helpshift.network.HSResponse");
|
|
}
|
|
|
|
public final String readStream(InputStream inputStream) {
|
|
InputStreamReader inputStreamReader;
|
|
Throwable th;
|
|
BufferedReader bufferedReader;
|
|
if (inputStream == null) {
|
|
return null;
|
|
}
|
|
StringBuilder sb = new StringBuilder();
|
|
try {
|
|
inputStreamReader = new InputStreamReader(inputStream);
|
|
try {
|
|
bufferedReader = new BufferedReader(inputStreamReader);
|
|
while (true) {
|
|
try {
|
|
String readLine = bufferedReader.readLine();
|
|
if (readLine != null) {
|
|
sb.append(readLine);
|
|
} else {
|
|
Utils.closeQuietly(bufferedReader);
|
|
Utils.closeQuietly(inputStreamReader);
|
|
return sb.toString();
|
|
}
|
|
} catch (Throwable th2) {
|
|
th = th2;
|
|
Utils.closeQuietly(bufferedReader);
|
|
Utils.closeQuietly(inputStreamReader);
|
|
throw th;
|
|
}
|
|
}
|
|
} catch (Throwable th3) {
|
|
th = th3;
|
|
bufferedReader = null;
|
|
}
|
|
} catch (Throwable th4) {
|
|
inputStreamReader = null;
|
|
th = th4;
|
|
bufferedReader = null;
|
|
}
|
|
}
|
|
}
|