Changes of com.discord v1181
This commit is contained in:
parent
f52990c3c2
commit
5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions
|
@ -1,80 +0,0 @@
|
|||
.class public final Lg0/j/a/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxAndroidPlugins.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final b:Lg0/j/a/a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/concurrent/atomic/AtomicReference<",
|
||||
"Lg0/j/a/b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lg0/j/a/a;
|
||||
|
||||
invoke-direct {v0}, Lg0/j/a/a;-><init>()V
|
||||
|
||||
sput-object v0, Lg0/j/a/a;->b:Lg0/j/a/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lg0/j/a/a;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lg0/j/a/b;
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lg0/j/a/a;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lg0/j/a/a;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
sget-object v2, Lg0/j/a/b;->a:Lg0/j/a/b;
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lg0/j/a/a;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lg0/j/a/b;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,45 +0,0 @@
|
|||
.class public Lg0/j/a/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxAndroidSchedulersHook.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Lg0/j/a/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lg0/j/a/b;
|
||||
|
||||
invoke-direct {v0}, Lg0/j/a/b;-><init>()V
|
||||
|
||||
sput-object v0, Lg0/j/a/b;->a:Lg0/j/a/b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lrx/Scheduler;
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/functions/Action0;)Lrx/functions/Action0;
|
||||
.locals 0
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,96 +0,0 @@
|
|||
.class public final Lg0/j/b/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AndroidSchedulers.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final b:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/concurrent/atomic/AtomicReference<",
|
||||
"Lg0/j/b/a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lrx/Scheduler;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
|
||||
|
||||
sput-object v0, Lg0/j/b/a;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
sget-object v0, Lg0/j/a/a;->b:Lg0/j/a/a;
|
||||
|
||||
invoke-virtual {v0}, Lg0/j/a/a;->a()Lg0/j/a/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lg0/j/a/b;->a()Lrx/Scheduler;
|
||||
|
||||
new-instance v0, Lg0/j/b/b;
|
||||
|
||||
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Lg0/j/b/b;-><init>(Landroid/os/Looper;)V
|
||||
|
||||
iput-object v0, p0, Lg0/j/b/a;->a:Lrx/Scheduler;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a()Lrx/Scheduler;
|
||||
.locals 3
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lg0/j/b/a;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lg0/j/b/a;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Lg0/j/b/a;
|
||||
|
||||
invoke-direct {v0}, Lg0/j/b/a;-><init>()V
|
||||
|
||||
sget-object v1, Lg0/j/b/a;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
:goto_0
|
||||
iget-object v0, v0, Lg0/j/b/a;->a:Lrx/Scheduler;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,134 +0,0 @@
|
|||
.class public Lg0/j/b/b$a;
|
||||
.super Lrx/Scheduler$Worker;
|
||||
.source "LooperScheduler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lg0/j/b/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Landroid/os/Handler;
|
||||
|
||||
.field public final e:Lg0/j/a/b;
|
||||
|
||||
.field public volatile f:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/os/Handler;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lrx/Scheduler$Worker;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lg0/j/b/b$a;->d:Landroid/os/Handler;
|
||||
|
||||
sget-object p1, Lg0/j/a/a;->b:Lg0/j/a/a;
|
||||
|
||||
invoke-virtual {p1}, Lg0/j/a/a;->a()Lg0/j/a/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lg0/j/b/b$a;->e:Lg0/j/a/b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/functions/Action0;)Lrx/Subscription;
|
||||
.locals 3
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
invoke-virtual {p0, p1, v1, v2, v0}, Lg0/j/b/b$a;->a(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lg0/j/b/b$a;->f:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
sget-object p1, Lg0/s/c;->a:Lg0/s/c$a;
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lg0/j/b/b$a;->e:Lg0/j/a/b;
|
||||
|
||||
invoke-virtual {v0, p1}, Lg0/j/a/b;->a(Lrx/functions/Action0;)Lrx/functions/Action0;
|
||||
|
||||
new-instance v0, Lg0/j/b/b$b;
|
||||
|
||||
iget-object v1, p0, Lg0/j/b/b$a;->d:Landroid/os/Handler;
|
||||
|
||||
invoke-direct {v0, p1, v1}, Lg0/j/b/b$b;-><init>(Lrx/functions/Action0;Landroid/os/Handler;)V
|
||||
|
||||
iget-object p1, p0, Lg0/j/b/b$a;->d:Landroid/os/Handler;
|
||||
|
||||
invoke-static {p1, v0}, Landroid/os/Message;->obtain(Landroid/os/Handler;Ljava/lang/Runnable;)Landroid/os/Message;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
||||
|
||||
iget-object v1, p0, Lg0/j/b/b$a;->d:Landroid/os/Handler;
|
||||
|
||||
invoke-virtual {p4, p2, p3}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
||||
|
||||
move-result-wide p2
|
||||
|
||||
invoke-virtual {v1, p1, p2, p3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
|
||||
|
||||
iget-boolean p1, p0, Lg0/j/b/b$a;->f:Z
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lg0/j/b/b$a;->d:Landroid/os/Handler;
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
|
||||
|
||||
sget-object p1, Lg0/s/c;->a:Lg0/s/c$a;
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_1
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lg0/j/b/b$a;->f:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lg0/j/b/b$a;->f:Z
|
||||
|
||||
iget-object v0, p0, Lg0/j/b/b$a;->d:Landroid/os/Handler;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,121 +0,0 @@
|
|||
.class public final Lg0/j/b/b$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LooperScheduler.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lg0/j/b/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/functions/Action0;
|
||||
|
||||
.field public final e:Landroid/os/Handler;
|
||||
|
||||
.field public volatile f:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/functions/Action0;Landroid/os/Handler;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lg0/j/b/b$b;->d:Lrx/functions/Action0;
|
||||
|
||||
iput-object p2, p0, Lg0/j/b/b$b;->e:Landroid/os/Handler;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lg0/j/b/b$b;->f:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public run()V
|
||||
.locals 3
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lg0/j/b/b$b;->d:Lrx/functions/Action0;
|
||||
|
||||
invoke-interface {v0}, Lrx/functions/Action0;->call()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
instance-of v1, v0, Lg0/k/e;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
new-instance v1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v2, "Exception thrown on Scheduler.Worker thread. Add `onError` handling."
|
||||
|
||||
invoke-direct {v1, v2, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v2, "Fatal Exception thrown on Scheduler.Worker thread."
|
||||
|
||||
invoke-direct {v1, v2, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
:goto_0
|
||||
sget-object v0, Lg0/p/o;->f:Lg0/p/o;
|
||||
|
||||
invoke-virtual {v0}, Lg0/p/o;->b()Lg0/p/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lg0/p/b;->a()V
|
||||
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->getUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v2, v0, v1}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
||||
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lg0/j/b/b$b;->f:Z
|
||||
|
||||
iget-object v0, p0, Lg0/j/b/b$b;->e:Landroid/os/Handler;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,46 +0,0 @@
|
|||
.class public Lg0/j/b/b;
|
||||
.super Lrx/Scheduler;
|
||||
.source "LooperScheduler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lg0/j/b/b$b;,
|
||||
Lg0/j/b/b$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Landroid/os/Handler;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/os/Looper;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lrx/Scheduler;-><init>()V
|
||||
|
||||
new-instance v0, Landroid/os/Handler;
|
||||
|
||||
invoke-direct {v0, p1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
|
||||
|
||||
iput-object v0, p0, Lg0/j/b/b;->a:Landroid/os/Handler;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lrx/Scheduler$Worker;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lg0/j/b/b$a;
|
||||
|
||||
iget-object v1, p0, Lg0/j/b/b;->a:Landroid/os/Handler;
|
||||
|
||||
invoke-direct {v0, v1}, Lg0/j/b/b$a;-><init>(Landroid/os/Handler;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue