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,88 @@
package androidx.webkit.internal;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.webkit.TracingConfig;
import androidx.webkit.TracingController;
import androidx.webkit.internal.ApiFeature;
import java.io.OutputStream;
import java.util.concurrent.Executor;
import org.chromium.support_lib_boundary.TracingControllerBoundaryInterface;
/* loaded from: classes.dex */
public class TracingControllerImpl extends TracingController {
private TracingControllerBoundaryInterface mBoundaryInterface;
private android.webkit.TracingController mFrameworksImpl;
public TracingControllerImpl() {
ApiFeature.P p = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE;
if (p.isSupportedByFramework()) {
this.mFrameworksImpl = ApiHelperForP.getTracingControllerInstance();
this.mBoundaryInterface = null;
} else {
if (p.isSupportedByWebView()) {
this.mFrameworksImpl = null;
this.mBoundaryInterface = WebViewGlueCommunicator.getFactory().getTracingController();
return;
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
}
@RequiresApi(28)
private android.webkit.TracingController getFrameworksImpl() {
if (this.mFrameworksImpl == null) {
this.mFrameworksImpl = ApiHelperForP.getTracingControllerInstance();
}
return this.mFrameworksImpl;
}
private TracingControllerBoundaryInterface getBoundaryInterface() {
if (this.mBoundaryInterface == null) {
this.mBoundaryInterface = WebViewGlueCommunicator.getFactory().getTracingController();
}
return this.mBoundaryInterface;
}
@Override // androidx.webkit.TracingController
public boolean isTracing() {
ApiFeature.P p = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE;
if (p.isSupportedByFramework()) {
return ApiHelperForP.isTracing(getFrameworksImpl());
}
if (p.isSupportedByWebView()) {
return getBoundaryInterface().isTracing();
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
@Override // androidx.webkit.TracingController
public void start(@NonNull TracingConfig tracingConfig) {
if (tracingConfig == null) {
throw new IllegalArgumentException("Tracing config must be non null");
}
ApiFeature.P p = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE;
if (p.isSupportedByFramework()) {
ApiHelperForP.start(getFrameworksImpl(), tracingConfig);
} else {
if (p.isSupportedByWebView()) {
getBoundaryInterface().start(tracingConfig.getPredefinedCategories(), tracingConfig.getCustomIncludedCategories(), tracingConfig.getTracingMode());
return;
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
}
@Override // androidx.webkit.TracingController
public boolean stop(@Nullable OutputStream outputStream, @NonNull Executor executor) {
ApiFeature.P p = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE;
if (p.isSupportedByFramework()) {
return ApiHelperForP.stop(getFrameworksImpl(), outputStream, executor);
}
if (p.isSupportedByWebView()) {
return getBoundaryInterface().stop(outputStream, executor);
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
}