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,49 @@
.class public Landroid/support/v4/os/IResultReceiver$Default;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/support/v4/os/IResultReceiver;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Default"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 10
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public send(ILandroid/os/Bundle;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
return-void
.end method

View File

@@ -0,0 +1,104 @@
.class Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/support/v4/os/IResultReceiver;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver$Stub;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Proxy"
.end annotation
# instance fields
.field private mRemote:Landroid/os/IBinder;
# direct methods
.method public constructor <init>(Landroid/os/IBinder;)V
.locals 0
.line 80
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
iget-object v0, p0, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-object v0
.end method
.method public getInterfaceDescriptor()Ljava/lang/String;
.locals 1
sget-object v0, Landroid/support/v4/os/IResultReceiver;->DESCRIPTOR:Ljava/lang/String;
return-object v0
.end method
.method public send(ILandroid/os/Bundle;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 93
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
:try_start_0
sget-object v1, Landroid/support/v4/os/IResultReceiver;->DESCRIPTOR:Ljava/lang/String;
.line 95
invoke-virtual {v0, v1}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
.line 96
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
const/4 p1, 0x0
.line 97
invoke-static {v0, p2, p1}, Landroid/support/v4/os/IResultReceiver$_Parcel;->access$100(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
iget-object p1, p0, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;->mRemote:Landroid/os/IBinder;
const/4 p2, 0x0
const/4 v1, 0x1
.line 98
invoke-interface {p1, v1, v0, p2, v1}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 101
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-void
:catchall_0
move-exception p1
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 102
throw p1
.end method

View File

@@ -0,0 +1,151 @@
.class public abstract Landroid/support/v4/os/IResultReceiver$Stub;
.super Landroid/os/Binder;
.source "SourceFile"
# interfaces
.implements Landroid/support/v4/os/IResultReceiver;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Stub"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
}
.end annotation
# static fields
.field static final TRANSACTION_send:I = 0x1
# direct methods
.method public constructor <init>()V
.locals 1
.line 26
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
sget-object v0, Landroid/support/v4/os/IResultReceiver;->DESCRIPTOR:Ljava/lang/String;
.line 27
invoke-virtual {p0, p0, v0}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
return-void
.end method
.method public static asInterface(Landroid/os/IBinder;)Landroid/support/v4/os/IResultReceiver;
.locals 2
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
sget-object v0, Landroid/support/v4/os/IResultReceiver;->DESCRIPTOR:Ljava/lang/String;
.line 38
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
move-result-object v0
if-eqz v0, :cond_1
.line 39
instance-of v1, v0, Landroid/support/v4/os/IResultReceiver;
if-eqz v1, :cond_1
.line 40
check-cast v0, Landroid/support/v4/os/IResultReceiver;
return-object v0
.line 42
:cond_1
new-instance v0, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
invoke-direct {v0, p0}, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
return-object v0
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 0
return-object p0
.end method
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
sget-object v0, Landroid/support/v4/os/IResultReceiver;->DESCRIPTOR:Ljava/lang/String;
const/4 v1, 0x1
if-lt p1, v1, :cond_0
const v2, 0xffffff
if-gt p1, v2, :cond_0
.line 52
invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
:cond_0
const v2, 0x5f4e5446
if-ne p1, v2, :cond_1
.line 55
invoke-virtual {p3, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return v1
:cond_1
if-eq p1, v1, :cond_2
.line 71
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
move-result p1
return p1
.line 63
:cond_2
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
move-result p1
.line 65
sget-object p3, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
invoke-static {p2, p3}, Landroid/support/v4/os/IResultReceiver$_Parcel;->access$000(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Landroid/os/Bundle;
.line 66
invoke-interface {p0, p1, p2}, Landroid/support/v4/os/IResultReceiver;->send(ILandroid/os/Bundle;)V
return v1
.end method

View File

@@ -0,0 +1,112 @@
.class public Landroid/support/v4/os/IResultReceiver$_Parcel;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "_Parcel"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 111
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static synthetic access$000(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
.locals 0
.line 111
invoke-static {p0, p1}, Landroid/support/v4/os/IResultReceiver$_Parcel;->readTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static synthetic access$100(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
.locals 0
.line 111
invoke-static {p0, p1, p2}, Landroid/support/v4/os/IResultReceiver$_Parcel;->writeTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
return-void
.end method
.method private static readTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/os/Parcel;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)TT;"
}
.end annotation
.line 115
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result v0
if-eqz v0, :cond_0
.line 116
invoke-interface {p1, p0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_0
const/4 p0, 0x0
return-object p0
.end method
.method private static writeTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Landroid/os/Parcelable;",
">(",
"Landroid/os/Parcel;",
"TT;I)V"
}
.end annotation
if-eqz p1, :cond_0
const/4 v0, 0x1
.line 124
invoke-virtual {p0, v0}, Landroid/os/Parcel;->writeInt(I)V
.line 125
invoke-interface {p1, p0, p2}, Landroid/os/Parcelable;->writeToParcel(Landroid/os/Parcel;I)V
goto :goto_0
:cond_0
const/4 p1, 0x0
.line 127
invoke-virtual {p0, p1}, Landroid/os/Parcel;->writeInt(I)V
:goto_0
return-void
.end method

View File

@@ -0,0 +1,57 @@
.class public interface abstract Landroid/support/v4/os/IResultReceiver;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/IInterface;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/support/v4/os/IResultReceiver$_Parcel;,
Landroid/support/v4/os/IResultReceiver$Stub;,
Landroid/support/v4/os/IResultReceiver$Default;
}
.end annotation
# static fields
.field public static final DESCRIPTOR:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 3
const/16 v0, 0x24
const/16 v1, 0x2e
const-string v2, "android$support$v4$os$IResultReceiver"
.line 108
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v0
sput-object v0, Landroid/support/v4/os/IResultReceiver;->DESCRIPTOR:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public abstract send(ILandroid/os/Bundle;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.end method

View File

@@ -0,0 +1,49 @@
.class public Landroid/support/v4/os/IResultReceiver2$Default;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/support/v4/os/IResultReceiver2;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Default"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 10
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public send(ILandroid/os/Bundle;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
return-void
.end method

View File

@@ -0,0 +1,104 @@
.class Landroid/support/v4/os/IResultReceiver2$Stub$Proxy;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/support/v4/os/IResultReceiver2;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver2$Stub;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Proxy"
.end annotation
# instance fields
.field private mRemote:Landroid/os/IBinder;
# direct methods
.method public constructor <init>(Landroid/os/IBinder;)V
.locals 0
.line 80
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroid/support/v4/os/IResultReceiver2$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
iget-object v0, p0, Landroid/support/v4/os/IResultReceiver2$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-object v0
.end method
.method public getInterfaceDescriptor()Ljava/lang/String;
.locals 1
sget-object v0, Landroid/support/v4/os/IResultReceiver2;->DESCRIPTOR:Ljava/lang/String;
return-object v0
.end method
.method public send(ILandroid/os/Bundle;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 93
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
:try_start_0
sget-object v1, Landroid/support/v4/os/IResultReceiver2;->DESCRIPTOR:Ljava/lang/String;
.line 95
invoke-virtual {v0, v1}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
.line 96
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
const/4 p1, 0x0
.line 97
invoke-static {v0, p2, p1}, Landroid/support/v4/os/IResultReceiver2$_Parcel;->access$100(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
iget-object p1, p0, Landroid/support/v4/os/IResultReceiver2$Stub$Proxy;->mRemote:Landroid/os/IBinder;
const/4 p2, 0x0
const/4 v1, 0x1
.line 98
invoke-interface {p1, v1, v0, p2, v1}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 101
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-void
:catchall_0
move-exception p1
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 102
throw p1
.end method

View File

@@ -0,0 +1,151 @@
.class public abstract Landroid/support/v4/os/IResultReceiver2$Stub;
.super Landroid/os/Binder;
.source "SourceFile"
# interfaces
.implements Landroid/support/v4/os/IResultReceiver2;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Stub"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/support/v4/os/IResultReceiver2$Stub$Proxy;
}
.end annotation
# static fields
.field static final TRANSACTION_send:I = 0x1
# direct methods
.method public constructor <init>()V
.locals 1
.line 26
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
sget-object v0, Landroid/support/v4/os/IResultReceiver2;->DESCRIPTOR:Ljava/lang/String;
.line 27
invoke-virtual {p0, p0, v0}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
return-void
.end method
.method public static asInterface(Landroid/os/IBinder;)Landroid/support/v4/os/IResultReceiver2;
.locals 2
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
sget-object v0, Landroid/support/v4/os/IResultReceiver2;->DESCRIPTOR:Ljava/lang/String;
.line 38
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
move-result-object v0
if-eqz v0, :cond_1
.line 39
instance-of v1, v0, Landroid/support/v4/os/IResultReceiver2;
if-eqz v1, :cond_1
.line 40
check-cast v0, Landroid/support/v4/os/IResultReceiver2;
return-object v0
.line 42
:cond_1
new-instance v0, Landroid/support/v4/os/IResultReceiver2$Stub$Proxy;
invoke-direct {v0, p0}, Landroid/support/v4/os/IResultReceiver2$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
return-object v0
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 0
return-object p0
.end method
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
sget-object v0, Landroid/support/v4/os/IResultReceiver2;->DESCRIPTOR:Ljava/lang/String;
const/4 v1, 0x1
if-lt p1, v1, :cond_0
const v2, 0xffffff
if-gt p1, v2, :cond_0
.line 52
invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
:cond_0
const v2, 0x5f4e5446
if-ne p1, v2, :cond_1
.line 55
invoke-virtual {p3, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return v1
:cond_1
if-eq p1, v1, :cond_2
.line 71
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
move-result p1
return p1
.line 63
:cond_2
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
move-result p1
.line 65
sget-object p3, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
invoke-static {p2, p3}, Landroid/support/v4/os/IResultReceiver2$_Parcel;->access$000(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Landroid/os/Bundle;
.line 66
invoke-interface {p0, p1, p2}, Landroid/support/v4/os/IResultReceiver2;->send(ILandroid/os/Bundle;)V
return v1
.end method

View File

@@ -0,0 +1,112 @@
.class public Landroid/support/v4/os/IResultReceiver2$_Parcel;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/IResultReceiver2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "_Parcel"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 111
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static synthetic access$000(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
.locals 0
.line 111
invoke-static {p0, p1}, Landroid/support/v4/os/IResultReceiver2$_Parcel;->readTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static synthetic access$100(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
.locals 0
.line 111
invoke-static {p0, p1, p2}, Landroid/support/v4/os/IResultReceiver2$_Parcel;->writeTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
return-void
.end method
.method private static readTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/os/Parcel;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)TT;"
}
.end annotation
.line 115
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result v0
if-eqz v0, :cond_0
.line 116
invoke-interface {p1, p0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_0
const/4 p0, 0x0
return-object p0
.end method
.method private static writeTypedObject(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Landroid/os/Parcelable;",
">(",
"Landroid/os/Parcel;",
"TT;I)V"
}
.end annotation
if-eqz p1, :cond_0
const/4 v0, 0x1
.line 124
invoke-virtual {p0, v0}, Landroid/os/Parcel;->writeInt(I)V
.line 125
invoke-interface {p1, p0, p2}, Landroid/os/Parcelable;->writeToParcel(Landroid/os/Parcel;I)V
goto :goto_0
:cond_0
const/4 p1, 0x0
.line 127
invoke-virtual {p0, p1}, Landroid/os/Parcel;->writeInt(I)V
:goto_0
return-void
.end method

View File

@@ -0,0 +1,57 @@
.class public interface abstract Landroid/support/v4/os/IResultReceiver2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/IInterface;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/support/v4/os/IResultReceiver2$_Parcel;,
Landroid/support/v4/os/IResultReceiver2$Stub;,
Landroid/support/v4/os/IResultReceiver2$Default;
}
.end annotation
# static fields
.field public static final DESCRIPTOR:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 3
const/16 v0, 0x24
const/16 v1, 0x2e
const-string v2, "android$support$v4$os$IResultReceiver2"
.line 108
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object v0
sput-object v0, Landroid/support/v4/os/IResultReceiver2;->DESCRIPTOR:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public abstract send(ILandroid/os/Bundle;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.end method

View File

@@ -0,0 +1,81 @@
.class Landroid/support/v4/os/ResultReceiver$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable$Creator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/ResultReceiver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/os/Parcelable$Creator<",
"Landroid/support/v4/os/ResultReceiver;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 150
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public createFromParcel(Landroid/os/Parcel;)Landroid/support/v4/os/ResultReceiver;
.locals 1
.line 153
new-instance v0, Landroid/support/v4/os/ResultReceiver;
invoke-direct {v0, p1}, Landroid/support/v4/os/ResultReceiver;-><init>(Landroid/os/Parcel;)V
return-object v0
.end method
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
.locals 0
.line 150
invoke-virtual {p0, p1}, Landroid/support/v4/os/ResultReceiver$1;->createFromParcel(Landroid/os/Parcel;)Landroid/support/v4/os/ResultReceiver;
move-result-object p1
return-object p1
.end method
.method public newArray(I)[Landroid/support/v4/os/ResultReceiver;
.locals 0
.line 157
new-array p1, p1, [Landroid/support/v4/os/ResultReceiver;
return-object p1
.end method
.method public bridge synthetic newArray(I)[Ljava/lang/Object;
.locals 0
.line 150
invoke-virtual {p0, p1}, Landroid/support/v4/os/ResultReceiver$1;->newArray(I)[Landroid/support/v4/os/ResultReceiver;
move-result-object p1
return-object p1
.end method

View File

@@ -0,0 +1,60 @@
.class Landroid/support/v4/os/ResultReceiver$MyResultReceiver;
.super Landroid/support/v4/os/IResultReceiver$Stub;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/ResultReceiver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "MyResultReceiver"
.end annotation
# instance fields
.field final synthetic this$0:Landroid/support/v4/os/ResultReceiver;
# direct methods
.method public constructor <init>(Landroid/support/v4/os/ResultReceiver;)V
.locals 0
iput-object p1, p0, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;->this$0:Landroid/support/v4/os/ResultReceiver;
.line 67
invoke-direct {p0}, Landroid/support/v4/os/IResultReceiver$Stub;-><init>()V
return-void
.end method
# virtual methods
.method public send(ILandroid/os/Bundle;)V
.locals 3
iget-object v0, p0, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;->this$0:Landroid/support/v4/os/ResultReceiver;
.line 70
iget-object v1, v0, Landroid/support/v4/os/ResultReceiver;->mHandler:Landroid/os/Handler;
if-eqz v1, :cond_0
.line 71
new-instance v2, Landroid/support/v4/os/ResultReceiver$MyRunnable;
invoke-direct {v2, v0, p1, p2}, Landroid/support/v4/os/ResultReceiver$MyRunnable;-><init>(Landroid/support/v4/os/ResultReceiver;ILandroid/os/Bundle;)V
invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
goto :goto_0
.line 73
:cond_0
invoke-virtual {v0, p1, p2}, Landroid/support/v4/os/ResultReceiver;->onReceiveResult(ILandroid/os/Bundle;)V
:goto_0
return-void
.end method

View File

@@ -0,0 +1,59 @@
.class Landroid/support/v4/os/ResultReceiver$MyRunnable;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/os/ResultReceiver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "MyRunnable"
.end annotation
# instance fields
.field final mResultCode:I
.field final mResultData:Landroid/os/Bundle;
.field final synthetic this$0:Landroid/support/v4/os/ResultReceiver;
# direct methods
.method public constructor <init>(Landroid/support/v4/os/ResultReceiver;ILandroid/os/Bundle;)V
.locals 0
iput-object p1, p0, Landroid/support/v4/os/ResultReceiver$MyRunnable;->this$0:Landroid/support/v4/os/ResultReceiver;
.line 56
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p2, p0, Landroid/support/v4/os/ResultReceiver$MyRunnable;->mResultCode:I
iput-object p3, p0, Landroid/support/v4/os/ResultReceiver$MyRunnable;->mResultData:Landroid/os/Bundle;
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Landroid/support/v4/os/ResultReceiver$MyRunnable;->this$0:Landroid/support/v4/os/ResultReceiver;
iget v1, p0, Landroid/support/v4/os/ResultReceiver$MyRunnable;->mResultCode:I
iget-object v2, p0, Landroid/support/v4/os/ResultReceiver$MyRunnable;->mResultData:Landroid/os/Bundle;
.line 63
invoke-virtual {v0, v1, v2}, Landroid/support/v4/os/ResultReceiver;->onReceiveResult(ILandroid/os/Bundle;)V
return-void
.end method

View File

@@ -0,0 +1,217 @@
.class public Landroid/support/v4/os/ResultReceiver;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable;
# annotations
.annotation build Landroid/annotation/SuppressLint;
value = {
"BanParcelableUsage"
}
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/support/v4/os/ResultReceiver$MyRunnable;,
Landroid/support/v4/os/ResultReceiver$MyResultReceiver;
}
.end annotation
# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Landroid/support/v4/os/ResultReceiver;",
">;"
}
.end annotation
.end field
# instance fields
.field final mHandler:Landroid/os/Handler;
.field final mLocal:Z
.field mReceiver:Landroid/support/v4/os/IResultReceiver;
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 149
new-instance v0, Landroid/support/v4/os/ResultReceiver$1;
invoke-direct {v0}, Landroid/support/v4/os/ResultReceiver$1;-><init>()V
sput-object v0, Landroid/support/v4/os/ResultReceiver;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method public constructor <init>(Landroid/os/Handler;)V
.locals 1
.line 83
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
iput-boolean v0, p0, Landroid/support/v4/os/ResultReceiver;->mLocal:Z
iput-object p1, p0, Landroid/support/v4/os/ResultReceiver;->mHandler:Landroid/os/Handler;
return-void
.end method
.method public constructor <init>(Landroid/os/Parcel;)V
.locals 1
.line 140
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Landroid/support/v4/os/ResultReceiver;->mLocal:Z
const/4 v0, 0x0
iput-object v0, p0, Landroid/support/v4/os/ResultReceiver;->mHandler:Landroid/os/Handler;
.line 145
invoke-virtual {p1}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object p1
invoke-static {p1}, Landroid/support/v4/os/IResultReceiver$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/v4/os/IResultReceiver;
move-result-object p1
iput-object p1, p0, Landroid/support/v4/os/ResultReceiver;->mReceiver:Landroid/support/v4/os/IResultReceiver;
return-void
.end method
# virtual methods
.method public describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public onReceiveResult(ILandroid/os/Bundle;)V
.locals 0
return-void
.end method
.method public send(ILandroid/os/Bundle;)V
.locals 2
iget-boolean v0, p0, Landroid/support/v4/os/ResultReceiver;->mLocal:Z
if-eqz v0, :cond_1
iget-object v0, p0, Landroid/support/v4/os/ResultReceiver;->mHandler:Landroid/os/Handler;
if-eqz v0, :cond_0
.line 98
new-instance v1, Landroid/support/v4/os/ResultReceiver$MyRunnable;
invoke-direct {v1, p0, p1, p2}, Landroid/support/v4/os/ResultReceiver$MyRunnable;-><init>(Landroid/support/v4/os/ResultReceiver;ILandroid/os/Bundle;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
goto :goto_0
.line 100
:cond_0
invoke-virtual {p0, p1, p2}, Landroid/support/v4/os/ResultReceiver;->onReceiveResult(ILandroid/os/Bundle;)V
:goto_0
return-void
:cond_1
iget-object v0, p0, Landroid/support/v4/os/ResultReceiver;->mReceiver:Landroid/support/v4/os/IResultReceiver;
if-eqz v0, :cond_2
.line 107
:try_start_0
invoke-interface {v0, p1, p2}, Landroid/support/v4/os/IResultReceiver;->send(ILandroid/os/Bundle;)V
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
:cond_2
return-void
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 0
.param p1 # Landroid/os/Parcel;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 131
monitor-enter p0
:try_start_0
iget-object p2, p0, Landroid/support/v4/os/ResultReceiver;->mReceiver:Landroid/support/v4/os/IResultReceiver;
if-nez p2, :cond_0
.line 133
new-instance p2, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;
invoke-direct {p2, p0}, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;-><init>(Landroid/support/v4/os/ResultReceiver;)V
iput-object p2, p0, Landroid/support/v4/os/ResultReceiver;->mReceiver:Landroid/support/v4/os/IResultReceiver;
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
:cond_0
:goto_0
iget-object p2, p0, Landroid/support/v4/os/ResultReceiver;->mReceiver:Landroid/support/v4/os/IResultReceiver;
.line 135
invoke-interface {p2}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder;
move-result-object p2
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
.line 136
monitor-exit p0
return-void
:goto_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method