Add Discord APKTool decompilation (Smali source for modding)

- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,89 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/DropDataContentProviderBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract cache([BLjava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
.end method
.method public abstract call(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.end method
.method public abstract getStreamTypes(Landroid/net/Uri;Ljava/lang/String;)[Ljava/lang/String;
.param p1 # Landroid/net/Uri;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.end method
.method public abstract getType(Landroid/net/Uri;)Ljava/lang/String;
.param p1 # Landroid/net/Uri;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.end method
.method public abstract onCreate()Z
.end method
.method public abstract onDragEnd(Z)V
.end method
.method public abstract openFile(Landroid/content/ContentProvider;Landroid/net/Uri;)Landroid/os/ParcelFileDescriptor;
.param p1 # Landroid/content/ContentProvider;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/net/Uri;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/FileNotFoundException;
}
.end annotation
.end method
.method public abstract query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
.param p1 # Landroid/net/Uri;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p4 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p5 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.end method
.method public abstract setClearCachedDataIntervalMs(I)V
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getSupportedFeatures()[Ljava/lang/String;
.end method

View File

@@ -0,0 +1,17 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/IsomorphicObjectBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getOrCreatePeer(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"Ljava/lang/Object;",
">;)",
"Ljava/lang/Object;"
}
.end annotation
.end method

View File

@@ -0,0 +1,14 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/JsReplyProxyBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/IsomorphicObjectBoundaryInterface;
# virtual methods
.method public abstract postMessage(Ljava/lang/String;)V
.end method
.method public abstract postMessageWithPayload(Ljava/lang/reflect/InvocationHandler;)V
.end method

View File

@@ -0,0 +1,34 @@
.class public interface abstract annotation Lorg/chromium/support_lib_boundary/ProcessGlobalConfigConstants$ProcessGlobalConfigMapKey;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/chromium/support_lib_boundary/ProcessGlobalConfigConstants;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ProcessGlobalConfigMapKey"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->PARAMETER:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->METHOD:Ljava/lang/annotation/ElementType;
}
.end annotation

View File

@@ -0,0 +1,19 @@
.class public final Lorg/chromium/support_lib_boundary/ProcessGlobalConfigConstants;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lorg/chromium/support_lib_boundary/ProcessGlobalConfigConstants$ProcessGlobalConfigMapKey;
}
.end annotation
# static fields
.field public static final CACHE_DIRECTORY_BASE_PATH:Ljava/lang/String; = "CACHE_DIRECTORY_BASE_PATH"
.field public static final DATA_DIRECTORY_BASE_PATH:Ljava/lang/String; = "DATA_DIRECTORY_BASE_PATH"
.field public static final DATA_DIRECTORY_SUFFIX:Ljava/lang/String; = "DATA_DIRECTORY_SUFFIX"

View File

@@ -0,0 +1,20 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/ProfileBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getCookieManager()Landroid/webkit/CookieManager;
.end method
.method public abstract getGeoLocationPermissions()Landroid/webkit/GeolocationPermissions;
.end method
.method public abstract getName()Ljava/lang/String;
.end method
.method public abstract getServiceWorkerController()Landroid/webkit/ServiceWorkerController;
.end method
.method public abstract getWebStorage()Landroid/webkit/WebStorage;
.end method

View File

@@ -0,0 +1,25 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/ProfileStoreBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract deleteProfile(Ljava/lang/String;)Z
.end method
.method public abstract getAllProfileNames()Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end method
.method public abstract getOrCreateProfile(Ljava/lang/String;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getProfile(Ljava/lang/String;)Ljava/lang/reflect/InvocationHandler;
.end method

View File

@@ -0,0 +1,14 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/ProxyControllerBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract clearProxyOverride(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
.end method
.method public abstract setProxyOverride([[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
.end method
.method public abstract setProxyOverride([[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Runnable;Ljava/util/concurrent/Executor;Z)V
.end method

View File

@@ -0,0 +1,14 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/SafeBrowsingResponseBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract backToSafety(Z)V
.end method
.method public abstract proceed(Z)V
.end method
.method public abstract showInterstitial(Z)V
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract remove()V
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
# virtual methods
.method public abstract shouldInterceptRequest(Landroid/webkit/WebResourceRequest;)Landroid/webkit/WebResourceResponse;
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/ServiceWorkerControllerBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getServiceWorkerWebSettings()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract setServiceWorkerClient(Ljava/lang/reflect/InvocationHandler;)V
.end method

View File

@@ -0,0 +1,51 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/ServiceWorkerWebSettingsBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getAllowContentAccess()Z
.end method
.method public abstract getAllowFileAccess()Z
.end method
.method public abstract getBlockNetworkLoads()Z
.end method
.method public abstract getCacheMode()I
.end method
.method public abstract getRequestedWithHeaderOriginAllowList()Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end method
.method public abstract setAllowContentAccess(Z)V
.end method
.method public abstract setAllowFileAccess(Z)V
.end method
.method public abstract setBlockNetworkLoads(Z)V
.end method
.method public abstract setCacheMode(I)V
.end method
.method public abstract setRequestedWithHeaderOriginAllowList(Ljava/util/Set;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,54 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/StaticsBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getSafeBrowsingPrivacyPolicyUrl()Landroid/net/Uri;
.end method
.method public abstract getVariationsHeader()Ljava/lang/String;
.end method
.method public abstract initSafeBrowsing(Landroid/content/Context;Landroid/webkit/ValueCallback;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Landroid/webkit/ValueCallback<",
"Ljava/lang/Boolean;",
">;)V"
}
.end annotation
.end method
.method public abstract isMultiProcessEnabled()Z
.end method
.method public abstract setSafeBrowsingAllowlist(Ljava/util/Set;Landroid/webkit/ValueCallback;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;",
"Landroid/webkit/ValueCallback<",
"Ljava/lang/Boolean;",
">;)V"
}
.end annotation
.end method
.method public abstract setSafeBrowsingWhitelist(Ljava/util/List;Landroid/webkit/ValueCallback;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Landroid/webkit/ValueCallback<",
"Ljava/lang/Boolean;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,29 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/TracingControllerBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract isTracing()Z
.end method
.method public abstract start(ILjava/util/Collection;I)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/Collection<",
"Ljava/lang/String;",
">;I)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalStateException;,
Ljava/lang/IllegalArgumentException;
}
.end annotation
.end method
.method public abstract stop(Ljava/io/OutputStream;Ljava/util/concurrent/Executor;)Z
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/VisualStateCallbackBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onComplete(J)V
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebAuthnCallbackBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onResult(ILandroid/content/Intent;)V
.end method

View File

@@ -0,0 +1,19 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebMessageBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
# virtual methods
.method public abstract getData()Ljava/lang/String;
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract getMessagePayload()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getPorts()[Ljava/lang/reflect/InvocationHandler;
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
# virtual methods
.method public abstract onMessage(Ljava/lang/reflect/InvocationHandler;Ljava/lang/reflect/InvocationHandler;)V
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
# virtual methods
.method public abstract onPostMessage(Landroid/webkit/WebView;Ljava/lang/reflect/InvocationHandler;Landroid/net/Uri;ZLjava/lang/reflect/InvocationHandler;)V
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract annotation Lorg/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface$WebMessagePayloadType;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "WebMessagePayloadType"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation
# static fields
.field public static final TYPE_ARRAY_BUFFER:I = 0x1
.field public static final TYPE_STRING:I

View File

@@ -0,0 +1,29 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lorg/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface$WebMessagePayloadType;
}
.end annotation
# virtual methods
.method public abstract getAsArrayBuffer()[B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract getAsString()Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end method
.method public abstract getType()I
.end method

View File

@@ -0,0 +1,17 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebMessagePortBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract close()V
.end method
.method public abstract postMessage(Ljava/lang/reflect/InvocationHandler;)V
.end method
.method public abstract setWebMessageCallback(Ljava/lang/reflect/InvocationHandler;)V
.end method
.method public abstract setWebMessageCallback(Ljava/lang/reflect/InvocationHandler;Landroid/os/Handler;)V
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getDescription()Ljava/lang/CharSequence;
.end method
.method public abstract getErrorCode()I
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebResourceRequestBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract isRedirect()Z
.end method

View File

@@ -0,0 +1,31 @@
.class public interface abstract annotation Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$AttributionBehavior;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "AttributionBehavior"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation
# static fields
.field public static final APP_SOURCE_AND_APP_TRIGGER:I = 0x3
.field public static final APP_SOURCE_AND_WEB_TRIGGER:I = 0x1
.field public static final DISABLED:I = 0x0
.field public static final WEB_SOURCE_AND_WEB_TRIGGER:I = 0x2

View File

@@ -0,0 +1,29 @@
.class public interface abstract annotation Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$ForceDarkBehavior;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ForceDarkBehavior"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation
# static fields
.field public static final FORCE_DARK_ONLY:I = 0x0
.field public static final MEDIA_QUERY_ONLY:I = 0x1
.field public static final PREFER_MEDIA_QUERY_OVER_FORCE_DARK:I = 0x2

View File

@@ -0,0 +1,29 @@
.class public interface abstract annotation Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$WebAuthnSupport;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "WebAuthnSupport"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation
# static fields
.field public static final APP:I = 0x1
.field public static final BROWSER:I = 0x2
.field public static final NONE:I

View File

@@ -0,0 +1,35 @@
.class public interface abstract annotation Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$WebViewMediaIntegrityApiStatus;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "WebViewMediaIntegrityApiStatus"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->TYPE_USE:Ljava/lang/annotation/ElementType;
}
.end annotation
# static fields
.field public static final DISABLED:I = 0x0
.field public static final ENABLED:I = 0x2
.field public static final ENABLED_WITHOUT_APP_IDENTITY:I = 0x1

View File

@@ -0,0 +1,149 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$WebViewMediaIntegrityApiStatus;,
Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$AttributionBehavior;,
Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$WebAuthnSupport;,
Lorg/chromium/support_lib_boundary/WebSettingsBoundaryInterface$ForceDarkBehavior;
}
.end annotation
# virtual methods
.method public abstract getAttributionBehavior()I
.end method
.method public abstract getDisabledActionModeMenuItems()I
.end method
.method public abstract getEnterpriseAuthenticationAppLinkPolicyEnabled()Z
.end method
.method public abstract getForceDark()I
.end method
.method public abstract getForceDarkBehavior()I
.end method
.method public abstract getOffscreenPreRaster()Z
.end method
.method public abstract getRequestedWithHeaderOriginAllowList()Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end method
.method public abstract getSafeBrowsingEnabled()Z
.end method
.method public abstract getUserAgentMetadataMap()Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end method
.method public abstract getWebAuthnSupport()I
.end method
.method public abstract getWebViewMediaIntegrityApiDefaultStatus()I
.end method
.method public abstract getWebViewMediaIntegrityApiOverrideRules()Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end method
.method public abstract getWillSuppressErrorPage()Z
.end method
.method public abstract isAlgorithmicDarkeningAllowed()Z
.end method
.method public abstract setAlgorithmicDarkeningAllowed(Z)V
.end method
.method public abstract setAttributionBehavior(I)V
.end method
.method public abstract setDisabledActionModeMenuItems(I)V
.end method
.method public abstract setEnterpriseAuthenticationAppLinkPolicyEnabled(Z)V
.end method
.method public abstract setForceDark(I)V
.end method
.method public abstract setForceDarkBehavior(I)V
.end method
.method public abstract setOffscreenPreRaster(Z)V
.end method
.method public abstract setRequestedWithHeaderOriginAllowList(Ljava/util/Set;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.end method
.method public abstract setSafeBrowsingEnabled(Z)V
.end method
.method public abstract setUserAgentMetadataFromMap(Ljava/util/Map;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.end method
.method public abstract setWebAuthnSupport(I)V
.end method
.method public abstract setWebViewMediaIntegrityApiStatus(ILjava/util/Map;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.end method
.method public abstract setWillSuppressErrorPage(Z)V
.end method

View File

@@ -0,0 +1,26 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebViewClientBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
# virtual methods
.method public abstract onPageCommitVisible(Landroid/webkit/WebView;Ljava/lang/String;)V
.end method
.method public abstract onReceivedError(Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;Ljava/lang/reflect/InvocationHandler;)V
.end method
.method public abstract onReceivedHttpError(Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;Landroid/webkit/WebResourceResponse;)V
.end method
.method public abstract onSafeBrowsingHit(Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;ILjava/lang/reflect/InvocationHandler;)V
.end method
.method public abstract onWebAuthnIntent(Landroid/webkit/WebView;Landroid/app/PendingIntent;Ljava/lang/reflect/InvocationHandler;)Z
.end method
.method public abstract shouldOverrideUrlLoading(Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;)Z
.end method

View File

@@ -0,0 +1,18 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebViewCookieManagerBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getCookieInfo(Ljava/lang/String;)Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end method

View File

@@ -0,0 +1,50 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebViewProviderBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract addDocumentStartJavaScript(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract addWebMessageListener(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/reflect/InvocationHandler;)V
.end method
.method public abstract createWebMessageChannel()[Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getProfile()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getWebChromeClient()Landroid/webkit/WebChromeClient;
.end method
.method public abstract getWebViewClient()Landroid/webkit/WebViewClient;
.end method
.method public abstract getWebViewRenderer()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getWebViewRendererClient()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract insertVisualStateCallback(JLjava/lang/reflect/InvocationHandler;)V
.end method
.method public abstract isAudioMuted()Z
.end method
.method public abstract postMessageToMainFrame(Ljava/lang/reflect/InvocationHandler;Landroid/net/Uri;)V
.end method
.method public abstract removeWebMessageListener(Ljava/lang/String;)V
.end method
.method public abstract setAudioMuted(Z)V
.end method
.method public abstract setProfile(Ljava/lang/String;)V
.end method
.method public abstract setWebViewRendererClient(Ljava/lang/reflect/InvocationHandler;)V
.end method

View File

@@ -0,0 +1,32 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract createWebView(Landroid/webkit/WebView;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getDropDataProvider()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getProfileStore()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getProxyController()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getServiceWorkerController()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getStatics()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getSupportedFeatures()[Ljava/lang/String;
.end method
.method public abstract getTracingController()Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract getWebkitToCompatConverter()Ljava/lang/reflect/InvocationHandler;
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebViewRendererBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/IsomorphicObjectBoundaryInterface;
# virtual methods
.method public abstract terminate()Z
.end method

View File

@@ -0,0 +1,14 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface;
# virtual methods
.method public abstract onRendererResponsive(Landroid/webkit/WebView;Ljava/lang/reflect/InvocationHandler;)V
.end method
.method public abstract onRendererUnresponsive(Landroid/webkit/WebView;Ljava/lang/reflect/InvocationHandler;)V
.end method

View File

@@ -0,0 +1,38 @@
.class public interface abstract Lorg/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract convertCookieManager(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract convertSafeBrowsingResponse(Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
.end method
.method public abstract convertSafeBrowsingResponse(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract convertServiceWorkerSettings(Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
.end method
.method public abstract convertServiceWorkerSettings(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract convertSettings(Landroid/webkit/WebSettings;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract convertWebMessagePort(Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
.end method
.method public abstract convertWebMessagePort(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract convertWebResourceError(Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
.end method
.method public abstract convertWebResourceError(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
.end method
.method public abstract convertWebResourceRequest(Landroid/webkit/WebResourceRequest;)Ljava/lang/reflect/InvocationHandler;
.end method

View File

@@ -0,0 +1,116 @@
.class public Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/reflect/InvocationHandler;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "InvocationHandlerWithDelegateGetter"
.end annotation
# instance fields
.field public final mDelegate:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.line 154
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;->mDelegate:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public getDelegate()Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;->mDelegate:Ljava/lang/Object;
return-object v0
.end method
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
iget-object p1, p0, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;->mDelegate:Ljava/lang/Object;
.line 160
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object p1
.line 162
:try_start_0
invoke-static {p2, p1}, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil;->dupeMethod(Ljava/lang/reflect/Method;Ljava/lang/ClassLoader;)Ljava/lang/reflect/Method;
move-result-object p1
iget-object v0, p0, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;->mDelegate:Ljava/lang/Object;
invoke-virtual {p1, v0, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:try_end_0
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/ReflectiveOperationException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
move-exception p1
goto :goto_0
:catch_1
move-exception p1
goto :goto_1
.line 167
:goto_0
new-instance p3, Ljava/lang/RuntimeException;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Reflection failed for method "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p3, p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw p3
.line 165
:goto_1
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getTargetException()Ljava/lang/Throwable;
move-result-object p1
throw p1
.end method

View File

@@ -0,0 +1,220 @@
.class public abstract Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;
}
.end annotation
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public static castToSuppLibClass(Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
.locals 3
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const-class v0, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil;
.line 76
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Class;
const/4 v2, 0x0
aput-object p0, v1, v2
.line 75
invoke-static {v0, v1, p1}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
move-result-object p1
.line 74
invoke-virtual {p0, p1}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static containsFeature(Ljava/util/Collection;Ljava/lang/String;)Z
.locals 1
.line 192
invoke-interface {p0, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
.line 193
invoke-static {}, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil;->isDebuggable()Z
move-result v0
if-eqz v0, :cond_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, ":dev"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-interface {p0, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p0, 0x1
:goto_1
return p0
.end method
.method public static createInvocationHandlerFor(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
.locals 1
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
.line 96
:cond_0
new-instance v0, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;
invoke-direct {v0, p0}, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;-><init>(Ljava/lang/Object;)V
return-object v0
.end method
.method public static dupeMethod(Ljava/lang/reflect/Method;Ljava/lang/ClassLoader;)Ljava/lang/reflect/Method;
.locals 2
.line 53
invoke-virtual {p0}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
const/4 v1, 0x1
invoke-static {v0, v1, p1}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
move-result-object p1
.line 56
invoke-virtual {p0}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;
move-result-object v0
.line 57
invoke-virtual {p0}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, p0, v0}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object p0
return-object p0
.end method
.method public static getDelegateFromInvocationHandler(Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
.locals 0
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
.line 140
:cond_0
check-cast p0, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;
.line 142
invoke-virtual {p0}, Lorg/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter;->getDelegate()Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static isDebuggable()Z
.locals 2
.line 183
sget-object v0, Landroid/os/Build;->TYPE:Ljava/lang/String;
const-string v1, "eng"
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
const-string v1, "userdebug"
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
return v0
.end method