Add Discord community version (64-bit only)

- 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
This commit is contained in:
2026-02-18 15:48:36 -08:00
parent c19eb3d7ff
commit c080f0d97f
26930 changed files with 2529574 additions and 0 deletions

View File

@@ -0,0 +1,136 @@
package com.amazonaws.internal.config;
import com.amazonaws.logging.Log;
import com.amazonaws.logging.LogFactory;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/* loaded from: classes.dex */
public class InternalConfig {
public static final Log log = LogFactory.getLog(InternalConfig.class);
public final SignerConfig defaultSignerConfig = getDefaultSigner();
public final Map regionSigners = getDefaultRegionSigners();
public final Map serviceSigners = getDefaultServiceSigners();
public final Map serviceRegionSigners = getDefaultServiceRegionSigners();
public final Map httpClients = getDefaultHttpClients();
public final List hostRegexToRegionMappings = getDefaultHostRegexToRegionMappings();
public HttpClientConfig getHttpClientConfig(String str) {
return (HttpClientConfig) this.httpClients.get(str);
}
public SignerConfig getSignerConfig(String str, String str2) {
if (str == null) {
throw new IllegalArgumentException();
}
if (str2 != null) {
SignerConfig signerConfig = (SignerConfig) this.serviceRegionSigners.get(str + "/" + str2);
if (signerConfig != null) {
return signerConfig;
}
SignerConfig signerConfig2 = (SignerConfig) this.regionSigners.get(str2);
if (signerConfig2 != null) {
return signerConfig2;
}
}
SignerConfig signerConfig3 = (SignerConfig) this.serviceSigners.get(str);
return signerConfig3 == null ? this.defaultSignerConfig : signerConfig3;
}
public List getHostRegexToRegionMappings() {
return Collections.unmodifiableList(this.hostRegexToRegionMappings);
}
public static Map getDefaultHttpClients() {
HashMap hashMap = new HashMap();
hashMap.put("AmazonCloudWatchClient", new HttpClientConfig("monitoring"));
hashMap.put("AmazonCloudWatchLogsClient", new HttpClientConfig("logs"));
hashMap.put("AmazonCognitoIdentityClient", new HttpClientConfig("cognito-identity"));
hashMap.put("AmazonCognitoIdentityProviderClient", new HttpClientConfig("cognito-idp"));
hashMap.put("AmazonCognitoSyncClient", new HttpClientConfig("cognito-sync"));
hashMap.put("AmazonComprehendClient", new HttpClientConfig("comprehend"));
hashMap.put("AmazonConnectClient", new HttpClientConfig("connect"));
hashMap.put("AmazonKinesisFirehoseClient", new HttpClientConfig("firehose"));
hashMap.put("AWSKinesisVideoArchivedMediaClient", new HttpClientConfig("kinesisvideo"));
hashMap.put("AWSKinesisVideoSignalingClient", new HttpClientConfig("kinesisvideo"));
hashMap.put("AWSIotClient", new HttpClientConfig("execute-api"));
hashMap.put("AmazonLexRuntimeClient", new HttpClientConfig("lex"));
hashMap.put("AmazonPinpointClient", new HttpClientConfig("mobiletargeting"));
hashMap.put("AmazonPinpointAnalyticsClient", new HttpClientConfig("mobileanalytics"));
hashMap.put("AmazonSageMakerRuntimeClient", new HttpClientConfig("sagemaker"));
hashMap.put("AmazonSimpleDBClient", new HttpClientConfig("sdb"));
hashMap.put("AmazonSimpleEmailServiceClient", new HttpClientConfig("email"));
hashMap.put("AWSSecurityTokenServiceClient", new HttpClientConfig("sts"));
hashMap.put("AmazonTextractClient", new HttpClientConfig("textract"));
hashMap.put("AmazonTranscribeClient", new HttpClientConfig("transcribe"));
hashMap.put("AmazonTranslateClient", new HttpClientConfig("translate"));
return hashMap;
}
public static Map getDefaultRegionSigners() {
HashMap hashMap = new HashMap();
hashMap.put("eu-central-1", new SignerConfig("AWS4SignerType"));
hashMap.put("cn-north-1", new SignerConfig("AWS4SignerType"));
return hashMap;
}
public static Map getDefaultServiceRegionSigners() {
HashMap hashMap = new HashMap();
hashMap.put("s3/eu-central-1", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("s3/cn-north-1", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("s3/us-east-2", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("s3/ca-central-1", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("s3/ap-south-1", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("s3/ap-northeast-2", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("s3/eu-west-2", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("lex/eu-central-1", new SignerConfig("AmazonLexV4Signer"));
hashMap.put("lex/cn-north-1", new SignerConfig("AmazonLexV4Signer"));
hashMap.put("polly/eu-central-1", new SignerConfig("AmazonPollyCustomPresigner"));
hashMap.put("polly/cn-north-1", new SignerConfig("AmazonPollyCustomPresigner"));
return hashMap;
}
public static Map getDefaultServiceSigners() {
HashMap hashMap = new HashMap();
hashMap.put("ec2", new SignerConfig("QueryStringSignerType"));
hashMap.put("email", new SignerConfig("AWS4SignerType"));
hashMap.put("s3", new SignerConfig("AWSS3V4SignerType"));
hashMap.put("sdb", new SignerConfig("QueryStringSignerType"));
hashMap.put("lex", new SignerConfig("AmazonLexV4Signer"));
hashMap.put("polly", new SignerConfig("AmazonPollyCustomPresigner"));
return hashMap;
}
public static SignerConfig getDefaultSigner() {
return new SignerConfig("AWS4SignerType");
}
public static List getDefaultHostRegexToRegionMappings() {
ArrayList arrayList = new ArrayList();
arrayList.add(new HostRegexToRegionMapping("(.+\\.)?s3\\.amazonaws\\.com", "us-east-1"));
arrayList.add(new HostRegexToRegionMapping("(.+\\.)?s3-external-1\\.amazonaws\\.com", "us-east-1"));
arrayList.add(new HostRegexToRegionMapping("(.+\\.)?s3-fips-us-gov-west-1\\.amazonaws\\.com", "us-gov-west-1"));
return arrayList;
}
public static class Factory {
public static final InternalConfig SINGELTON;
public static InternalConfig getInternalConfig() {
return SINGELTON;
}
static {
try {
SINGELTON = new InternalConfig();
} catch (RuntimeException e) {
throw e;
} catch (Exception e2) {
throw new IllegalStateException("Fatal: Failed to load the internal config for AWS Android SDK", e2);
}
}
}
}