Changes of com.discord v1044
This commit is contained in:
parent
f8a748f522
commit
78c1decc81
427 changed files with 4414 additions and 11696 deletions
|
@ -1,110 +0,0 @@
|
|||
.class public final LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Le0/l/i;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = LWidgetFriendsAddUserRequestsModel$a;->a()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Le0/l/i<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final e:LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
.field public static final f:LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, LWidgetFriendsAddUserRequestsModel$a$a;-><init>(I)V
|
||||
|
||||
sput-object v0, LWidgetFriendsAddUserRequestsModel$a$a;->e:LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
new-instance v0, LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, v1}, LWidgetFriendsAddUserRequestsModel$a$a;-><init>(I)V
|
||||
|
||||
sput-object v0, LWidgetFriendsAddUserRequestsModel$a$a;->f:LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(I)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, LWidgetFriendsAddUserRequestsModel$a$a;->d:I
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, LWidgetFriendsAddUserRequestsModel$a$a;->d:I
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Map;->keySet()Ljava/util/Set;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Map;->keySet()Ljava/util/Set;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,148 +0,0 @@
|
|||
.class public final synthetic LWidgetFriendsAddUserRequestsModel$a$b;
|
||||
.super Lw/u/b/i;
|
||||
.source "WidgetFriendsAddUserRequestsModel.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = LWidgetFriendsAddUserRequestsModel$a;->a()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1019
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/i;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"Ljava/util/Set<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;",
|
||||
"Ljava/util/Set<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;",
|
||||
"LWidgetFriendsAddUserRequestsModel;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:LWidgetFriendsAddUserRequestsModel$a$b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, LWidgetFriendsAddUserRequestsModel$a$b;
|
||||
|
||||
invoke-direct {v0}, LWidgetFriendsAddUserRequestsModel$a$b;-><init>()V
|
||||
|
||||
sput-object v0, LWidgetFriendsAddUserRequestsModel$a$b;->d:LWidgetFriendsAddUserRequestsModel$a$b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
invoke-direct {p0, v0}, Lw/u/b/i;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/util/Set;Ljava/util/Set;)LWidgetFriendsAddUserRequestsModel;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;)",
|
||||
"LWidgetFriendsAddUserRequestsModel;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, LWidgetFriendsAddUserRequestsModel;
|
||||
|
||||
invoke-direct {v0, p1, p2}, LWidgetFriendsAddUserRequestsModel;-><init>(Ljava/util/Set;Ljava/util/Set;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "p2"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "p1"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final getName()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "<init>"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
|
||||
.locals 1
|
||||
|
||||
const-class v0, LWidgetFriendsAddUserRequestsModel;
|
||||
|
||||
invoke-static {v0}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getSignature()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "<init>(Ljava/util/Set;Ljava/util/Set;)V"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/Set;
|
||||
|
||||
check-cast p2, Ljava/util/Set;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, LWidgetFriendsAddUserRequestsModel$a$b;->a(Ljava/util/Set;Ljava/util/Set;)LWidgetFriendsAddUserRequestsModel;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,109 +0,0 @@
|
|||
.class public final LWidgetFriendsAddUserRequestsModel$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetFriendsAddUserRequestsModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = LWidgetFriendsAddUserRequestsModel;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()Lrx/Observable;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lrx/Observable<",
|
||||
"LWidgetFriendsAddUserRequestsModel;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getUserRelationships()Lcom/discord/stores/StoreUserRelationships;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x4
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreUserRelationships;->getForType(I)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, LWidgetFriendsAddUserRequestsModel$a$a;->e:LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->f(Le0/l/i;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getUserRelationships()Lcom/discord/stores/StoreUserRelationships;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
invoke-virtual {v1, v2}, Lcom/discord/stores/StoreUserRelationships;->getForType(I)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v2, LWidgetFriendsAddUserRequestsModel$a$a;->f:LWidgetFriendsAddUserRequestsModel$a$a;
|
||||
|
||||
invoke-virtual {v1, v2}, Lrx/Observable;->f(Le0/l/i;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v2, LWidgetFriendsAddUserRequestsModel$a$b;->d:LWidgetFriendsAddUserRequestsModel$a$b;
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
new-instance v3, Lo;
|
||||
|
||||
invoke-direct {v3, v2}, Lo;-><init>(Lkotlin/jvm/functions/Function2;)V
|
||||
|
||||
move-object v2, v3
|
||||
|
||||
:cond_0
|
||||
check-cast v2, Lrx/functions/Func2;
|
||||
|
||||
invoke-static {v0, v1, v2}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "Observable\n .comb\u2026erRequestsModel\n )"
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lrx/Observable;->a()Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "Observable\n .comb\u2026 .distinctUntilChanged()"
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,242 +0,0 @@
|
|||
.class public final LWidgetFriendsAddUserRequestsModel;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetFriendsAddUserRequestsModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
LWidgetFriendsAddUserRequestsModel$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final c:LWidgetFriendsAddUserRequestsModel$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final b:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, LWidgetFriendsAddUserRequestsModel$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, LWidgetFriendsAddUserRequestsModel$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, LWidgetFriendsAddUserRequestsModel;->c:LWidgetFriendsAddUserRequestsModel$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/util/Set;Ljava/util/Set;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, LWidgetFriendsAddUserRequestsModel;->a:Ljava/util/Set;
|
||||
|
||||
iput-object p2, p0, LWidgetFriendsAddUserRequestsModel;->b:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "incomingIds"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "outgoingIds"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()Ljava/util/Set;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, LWidgetFriendsAddUserRequestsModel;->b:Ljava/util/Set;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final b()Ljava/util/Set;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, LWidgetFriendsAddUserRequestsModel;->a:Ljava/util/Set;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, LWidgetFriendsAddUserRequestsModel;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, LWidgetFriendsAddUserRequestsModel;
|
||||
|
||||
iget-object v0, p0, LWidgetFriendsAddUserRequestsModel;->a:Ljava/util/Set;
|
||||
|
||||
iget-object v1, p1, LWidgetFriendsAddUserRequestsModel;->a:Ljava/util/Set;
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, LWidgetFriendsAddUserRequestsModel;->b:Ljava/util/Set;
|
||||
|
||||
iget-object p1, p1, LWidgetFriendsAddUserRequestsModel;->b:Ljava/util/Set;
|
||||
|
||||
invoke-static {v0, p1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, LWidgetFriendsAddUserRequestsModel;->a:Ljava/util/Set;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v2, p0, LWidgetFriendsAddUserRequestsModel;->b:Ljava/util/Set;
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v1
|
||||
|
||||
:cond_1
|
||||
add-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "WidgetFriendsAddUserRequestsModel(outgoingIds="
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, LWidgetFriendsAddUserRequestsModel;->a:Ljava/util/Set;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", incomingIds="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, LWidgetFriendsAddUserRequestsModel;->b:Ljava/util/Set;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,165 +0,0 @@
|
|||
.class public final Lcom/discord/app/AppBottomSheet$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/core/view/OnApplyWindowInsetsListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/app/AppBottomSheet;->fixWindowInsetHandling()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final b:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
.field public static final c:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/app/AppBottomSheet$a;-><init>(I)V
|
||||
|
||||
sput-object v0, Lcom/discord/app/AppBottomSheet$a;->b:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
new-instance v0, Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/app/AppBottomSheet$a;-><init>(I)V
|
||||
|
||||
sput-object v0, Lcom/discord/app/AppBottomSheet$a;->c:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(I)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lcom/discord/app/AppBottomSheet$a;->a:I
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
|
||||
.locals 5
|
||||
|
||||
iget v0, p0, Lcom/discord/app/AppBottomSheet$a;->a:I
|
||||
|
||||
const-string v1, "insets"
|
||||
|
||||
const-string v2, "v"
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-ne v0, v4, :cond_0
|
||||
|
||||
invoke-static {p1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p2, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetLeft()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetTop()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetRight()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {p1, v0, v1, v2, v3}, Landroid/view/View;->setPadding(IIII)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->consumeSystemWindowInsets()Landroidx/core/view/WindowInsetsCompat;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
throw v3
|
||||
|
||||
:cond_1
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetTop()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getPaddingLeft()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getPaddingRight()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getPaddingBottom()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {p1, v1, v0, v2, v3}, Landroid/view/View;->setPadding(IIII)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetLeft()I
|
||||
|
||||
move-result p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetRight()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {p2, p1, v0, v1, v2}, Landroidx/core/view/WindowInsetsCompat;->replaceSystemWindowInsets(IIII)Landroidx/core/view/WindowInsetsCompat;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_2
|
||||
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v3
|
||||
|
||||
:cond_3
|
||||
invoke-static {v2}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v3
|
||||
.end method
|
|
@ -1,109 +0,0 @@
|
|||
.class public final Lcom/discord/dialogs/ImageUploadDialog$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/dialogs/ImageUploadDialog;->onViewBound(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lcom/discord/dialogs/ImageUploadDialog$a;->d:I
|
||||
|
||||
iput-object p2, p0, Lcom/discord/dialogs/ImageUploadDialog$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 3
|
||||
|
||||
iget p1, p0, Lcom/discord/dialogs/ImageUploadDialog$a;->d:I
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-ne p1, v1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/dialogs/ImageUploadDialog$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/dialogs/ImageUploadDialog;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
iget-object p1, p0, Lcom/discord/dialogs/ImageUploadDialog$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/dialogs/ImageUploadDialog;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v1, p0, Lcom/discord/dialogs/ImageUploadDialog$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Lcom/discord/dialogs/ImageUploadDialog;
|
||||
|
||||
iget-object v2, v1, Lcom/discord/dialogs/ImageUploadDialog;->i:Lcom/miguelgaeta/media_picker/MediaPicker$Provider;
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
iget-object v1, v1, Lcom/discord/dialogs/ImageUploadDialog;->h:Landroid/net/Uri;
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-static {p1, v2, v1}, Lcom/discord/utilities/images/MGImages;->requestAvatarCrop(Landroid/content/Context;Lcom/miguelgaeta/media_picker/MediaPicker$Provider;Landroid/net/Uri;)V
|
||||
|
||||
iget-object p1, p0, Lcom/discord/dialogs/ImageUploadDialog$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/dialogs/ImageUploadDialog;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
const-string p1, "uri"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
const-string p1, "provider"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -1,87 +0,0 @@
|
|||
.class public final Lcom/discord/views/ActiveSubscriptionView$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/views/ActiveSubscriptionView;->a(Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;Lcom/discord/models/domain/ModelSubscription$Status;ZLjava/lang/CharSequence;ZILkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lcom/discord/views/ActiveSubscriptionView$a;->d:I
|
||||
|
||||
iput-object p2, p0, Lcom/discord/views/ActiveSubscriptionView$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 1
|
||||
|
||||
iget p1, p0, Lcom/discord/views/ActiveSubscriptionView$a;->d:I
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p1, v0, :cond_1
|
||||
|
||||
iget-object p1, p0, Lcom/discord/views/ActiveSubscriptionView$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lkotlin/jvm/functions/Function0;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lkotlin/Unit;
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Lcom/discord/views/ActiveSubscriptionView$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lkotlin/jvm/functions/Function0;
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lkotlin/Unit;
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
|
@ -1,167 +0,0 @@
|
|||
.class public final Lcom/discord/views/steps/StepsView$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/views/steps/StepsView;->a(ILkotlin/jvm/functions/Function0;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:I
|
||||
|
||||
.field public final synthetic f:Ljava/lang/Object;
|
||||
|
||||
.field public final synthetic g:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(IILjava/lang/Object;Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lcom/discord/views/steps/StepsView$a;->d:I
|
||||
|
||||
iput p2, p0, Lcom/discord/views/steps/StepsView$a;->e:I
|
||||
|
||||
iput-object p3, p0, Lcom/discord/views/steps/StepsView$a;->f:Ljava/lang/Object;
|
||||
|
||||
iput-object p4, p0, Lcom/discord/views/steps/StepsView$a;->g:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 4
|
||||
|
||||
iget v0, p0, Lcom/discord/views/steps/StepsView$a;->d:I
|
||||
|
||||
const-string v1, "it"
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
if-ne v0, v2, :cond_1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/views/steps/StepsView$a;->f:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Ljava/util/List;
|
||||
|
||||
iget v2, p0, Lcom/discord/views/steps/StepsView$a;->e:I
|
||||
|
||||
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lcom/discord/views/steps/StepsView$b;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/views/steps/StepsView$b;->f:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p1, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lcom/discord/views/steps/StepsView$a;->g:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
iget-object v0, p0, Lcom/discord/views/steps/StepsView$a;->g:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Ljava/util/List;
|
||||
|
||||
iget v3, p0, Lcom/discord/views/steps/StepsView$a;->e:I
|
||||
|
||||
invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lcom/discord/views/steps/StepsView$b;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/views/steps/StepsView$b;->d:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
invoke-static {p1, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
iget-object p1, p0, Lcom/discord/views/steps/StepsView$a;->f:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/steps/StepsView;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/views/steps/StepsView;->h:Lcom/discord/utilities/simple_pager/SimplePager;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/viewpager/widget/ViewPager;->getCurrentItem()I
|
||||
|
||||
move-result p1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/views/steps/StepsView$a;->f:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/discord/views/steps/StepsView;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/views/steps/StepsView;->i:Lcom/discord/views/steps/StepsView$d;
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/views/steps/StepsView$d;->getCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
add-int/lit8 v0, v0, -0x1
|
||||
|
||||
if-eq p1, v0, :cond_5
|
||||
|
||||
:cond_4
|
||||
iget-object p1, p0, Lcom/discord/views/steps/StepsView$a;->f:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/steps/StepsView;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/views/steps/StepsView;->h:Lcom/discord/utilities/simple_pager/SimplePager;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/viewpager/widget/ViewPager;->getCurrentItem()I
|
||||
|
||||
move-result v0
|
||||
|
||||
add-int/2addr v0, v2
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/viewpager/widget/ViewPager;->setCurrentItem(I)V
|
||||
|
||||
:cond_5
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
|
@ -1,69 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final launch(JLandroid/content/Context;)V
|
||||
.locals 2
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
new-instance v0, Landroid/content/Intent;
|
||||
|
||||
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
||||
|
||||
const-string v1, "INTENT_EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-virtual {v0, v1, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent().putExtra(INTENT\u2026RA_CHANNEL_ID, channelId)"
|
||||
|
||||
invoke-static {p1, p2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-class p2, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {p3, p2, p1}, Le/a/b/h;->b(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,128 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1$$special$$inlined$let$lambda$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Func3;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Func3<",
|
||||
"TT1;TT2;TT3;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $channel$inlined:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1$$special$$inlined$let$lambda$1;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1$$special$$inlined$let$lambda$1;->$channel$inlined:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelGuild;Lcom/discord/models/domain/ModelUser;Ljava/lang/Integer;)Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
.locals 3
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/16 v0, 0x10
|
||||
|
||||
const-string v1, "me"
|
||||
|
||||
invoke-static {p2, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/models/domain/ModelUser;->isMfaEnabled()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getMfaLevel()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-static {v0, p3, v1, v2}, Lcom/discord/utilities/permissions/PermissionUtils;->canAndIsElevated(ILjava/lang/Integer;ZI)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const/high16 v1, 0x10000000
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/models/domain/ModelUser;->isMfaEnabled()Z
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getMfaLevel()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-static {v1, p3, p2, v2}, Lcom/discord/utilities/permissions/PermissionUtils;->canAndIsElevated(ILjava/lang/Integer;ZI)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getMaxVoiceBitrateKbps()I
|
||||
|
||||
move-result p1
|
||||
|
||||
new-instance p3, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1$$special$$inlined$let$lambda$1;->$channel$inlined:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-direct {p3, v1, v0, p2, p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;-><init>(Lcom/discord/models/domain/ModelChannel;ZZI)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p3, 0x0
|
||||
|
||||
:goto_0
|
||||
return-object p3
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelGuild;
|
||||
|
||||
check-cast p2, Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
check-cast p3, Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1$$special$$inlined$let$lambda$1;->call(Lcom/discord/models/domain/ModelGuild;Lcom/discord/models/domain/ModelUser;Ljava/lang/Integer;)Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,147 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Le0/l/i;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;->get(J)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Le0/l/i<",
|
||||
"TT;",
|
||||
"Lrx/Observable<",
|
||||
"+TR;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $channelId:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;->$channelId:J
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
")",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "it.guildId"
|
||||
|
||||
invoke-static {v1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lcom/discord/stores/StoreGuilds;->get(J)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getUsers()Lcom/discord/stores/StoreUser;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreUser;->observeMe()Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getPermissions()Lcom/discord/stores/StorePermissions;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-wide v3, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;->$channelId:J
|
||||
|
||||
invoke-virtual {v2, v3, v4}, Lcom/discord/stores/StorePermissions;->getForChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
new-instance v3, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1$$special$$inlined$let$lambda$1;
|
||||
|
||||
invoke-direct {v3, p0, p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1$$special$$inlined$let$lambda$1;-><init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func3;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
new-instance v0, Le0/m/e/j;
|
||||
|
||||
invoke-direct {v0, p1}, Le0/m/e/j;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
move-object p1, v0
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,82 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final get(J)Lrx/Observable;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(J)",
|
||||
"Lrx/Observable<",
|
||||
"Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lcom/discord/stores/StoreChannels;->get(J)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;
|
||||
|
||||
invoke-direct {v1, p1, p2}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion$get$1;-><init>(J)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->k(Le0/l/i;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "StoreStream\n \u2026.just(null)\n }"
|
||||
|
||||
invoke-static {p1, p2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Lrx/Observable;->a()Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "StoreStream\n \u2026 .distinctUntilChanged()"
|
||||
|
||||
invoke-static {p1, p2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,355 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Model"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final Companion:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;
|
||||
|
||||
.field public static final MIN_KBPS:I = 0x8
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final canManageChannel:Z
|
||||
|
||||
.field public final canManagePermissions:Z
|
||||
|
||||
.field public final channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
.field public final maxBitrate:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->Companion:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;ZZI)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
iput-boolean p2, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
iput-boolean p3, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
iput p4, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "channel"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public static synthetic copy$default(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;Lcom/discord/models/domain/ModelChannel;ZZIILjava/lang/Object;)Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p6, p5, 0x1
|
||||
|
||||
if-eqz p6, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
:cond_0
|
||||
and-int/lit8 p6, p5, 0x2
|
||||
|
||||
if-eqz p6, :cond_1
|
||||
|
||||
iget-boolean p2, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
:cond_1
|
||||
and-int/lit8 p6, p5, 0x4
|
||||
|
||||
if-eqz p6, :cond_2
|
||||
|
||||
iget-boolean p3, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
:cond_2
|
||||
and-int/lit8 p5, p5, 0x8
|
||||
|
||||
if-eqz p5, :cond_3
|
||||
|
||||
iget p4, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
:cond_3
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->copy(Lcom/discord/models/domain/ModelChannel;ZZI)Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final component1()Lcom/discord/models/domain/ModelChannel;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final component2()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final component3()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final component4()I
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final copy(Lcom/discord/models/domain/ModelChannel;ZZI)Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-direct {v0, p1, p2, p3, p4}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;-><init>(Lcom/discord/models/domain/ModelChannel;ZZI)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "channel"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
iget-object v1, p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
iget-boolean v1, p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
iget-boolean v1, p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
iget p1, p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final getCanManageChannel()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getCanManagePermissions()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getMaxBitrate()I
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_1
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_2
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
invoke-static {v1}, Lc;->a(I)I
|
||||
|
||||
move-result v1
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "Model(channel="
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", canManageChannel="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManageChannel:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", canManagePermissions="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->canManagePermissions:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", maxBitrate="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->maxBitrate:I
|
||||
|
||||
const-string v2, ")"
|
||||
|
||||
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,98 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action2;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->configureUI(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action2<",
|
||||
"Landroid/view/MenuItem;",
|
||||
"Landroid/content/Context;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$1;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$1;->$this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Landroid/view/MenuItem;Landroid/content/Context;)V
|
||||
.locals 0
|
||||
|
||||
const-string p2, "menuItem"
|
||||
|
||||
invoke-static {p1, p2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I
|
||||
|
||||
move-result p1
|
||||
|
||||
const p2, 0x7f0a04b8
|
||||
|
||||
if-eq p1, p2, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$1;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
iget-object p2, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$1;->$this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-static {p1, p2}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$confirmDelete(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/MenuItem;
|
||||
|
||||
check-cast p2, Landroid/content/Context;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$1;->call(Landroid/view/MenuItem;Landroid/content/Context;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,68 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$2;
|
||||
.super Le/a/j/f;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->configureUI(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$2;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-direct {p0}, Le/a/j/f;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$2;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getUserLimitDisplay$p(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)Landroid/widget/TextView;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object p3, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$2;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {p3, p2}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getUserLimitDisplayString(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "seekBar"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,70 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$3;
|
||||
.super Le/a/j/f;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->configureUI(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$3;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-direct {p0}, Le/a/j/f;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$3;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getBitrateDisplay$p(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)Landroid/widget/TextView;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object p3, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$3;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
add-int/lit8 p2, p2, 0x8
|
||||
|
||||
invoke-static {p3, p2}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getBitrateDisplayString(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "seekBar"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,63 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->configureUI(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$4;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$4;->$this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 2
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$4;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$4;->$this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {p1, v0, v1}, Lcom/discord/widgets/channels/WidgetChannelSettingsPermissionsOverview;->create(Landroid/content/Context;J)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,121 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->configureUI(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->$this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 6
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->$this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getState$p(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)Lcom/discord/utilities/stateful/StatefulViews;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v3, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {v3}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getChannelSettingsName$p(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)Landroid/widget/EditText;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3}, Landroid/widget/EditText;->getId()I
|
||||
|
||||
move-result v3
|
||||
|
||||
iget-object v4, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->$this_configureUI:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-virtual {v4}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v4}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {p1, v3, v4}, Lcom/discord/utilities/stateful/StatefulViews;->get(ILjava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v3, "state.get(channelSettingsName.id, channel.name)"
|
||||
|
||||
invoke-static {p1, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v3, p1
|
||||
|
||||
check-cast v3, Ljava/lang/String;
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getUserLimitSeekbar$p(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)Landroid/widget/SeekBar;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/SeekBar;->getProgress()I
|
||||
|
||||
move-result v4
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$configureUI$5;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$getBitrateSeekbar$p(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)Landroid/widget/SeekBar;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/SeekBar;->getProgress()I
|
||||
|
||||
move-result p1
|
||||
|
||||
add-int/lit8 p1, p1, 0x8
|
||||
|
||||
mul-int/lit16 v5, p1, 0x3e8
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$saveChannel(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;JLjava/lang/String;II)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,45 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$confirmDelete$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->confirmDelete(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $dialog:Landroidx/appcompat/app/AlertDialog;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/appcompat/app/AlertDialog;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$confirmDelete$1;->$dialog:Landroidx/appcompat/app/AlertDialog;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$confirmDelete$1;->$dialog:Landroidx/appcompat/app/AlertDialog;
|
||||
|
||||
invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,63 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$confirmDelete$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->confirmDelete(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$confirmDelete$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 3
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "it"
|
||||
|
||||
const-string v2, "it.context"
|
||||
|
||||
invoke-static {p1, v1, v2}, Le/e/b/a/a;->a(Landroid/view/View;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$confirmDelete$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-virtual {v0, p1, v1, v2}, Lcom/discord/stores/StoreChannels;->delete(Landroid/content/Context;J)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,69 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$onViewBoundOrOnResume$1;
|
||||
.super Lw/u/b/k;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->onViewBoundOrOnResume()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$onViewBoundOrOnResume$1;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$onViewBoundOrOnResume$1;->invoke(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$onViewBoundOrOnResume$1;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->access$configureUI(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Model;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,81 +0,0 @@
|
|||
.class public final Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$saveChannel$1;
|
||||
.super Lw/u/b/k;
|
||||
.source "WidgetVoiceChannelSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->saveChannel(JLjava/lang/String;II)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$saveChannel$1;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$saveChannel$1;->invoke(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 4
|
||||
|
||||
iget-object p1, p0, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$saveChannel$1;->this$0:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const v0, 0x7f120397
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/16 v3, 0xc
|
||||
|
||||
invoke-static {p1, v0, v1, v2, v3}, Le/a/b/j;->a(Landroid/content/Context;IILcom/discord/utilities/view/ToastManager;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -1,179 +0,0 @@
|
|||
.class public final Lcom/discord/workers/CallActionWorker$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CallActionWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/workers/CallActionWorker;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;JJ)V
|
||||
.locals 4
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/work/Data$Builder;
|
||||
|
||||
invoke-direct {v0}, Landroidx/work/Data$Builder;-><init>()V
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
new-array v1, v1, [Lkotlin/Pair;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
new-instance p3, Lkotlin/Pair;
|
||||
|
||||
const-string v3, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-direct {p3, v3, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p3, v1, v2
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
invoke-static {p4, p5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
new-instance p4, Lkotlin/Pair;
|
||||
|
||||
const-string p5, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
||||
|
||||
invoke-direct {p4, p5, p3}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p4, v1, p2
|
||||
|
||||
invoke-static {v1}, Lw/q/l;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/work/Data$Builder;->putAll(Ljava/util/Map;)Landroidx/work/Data$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/Data$Builder;->build()Landroidx/work/Data;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "Data.Builder()\n \u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p3, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-class p4, Lcom/discord/workers/CallActionWorker;
|
||||
|
||||
invoke-direct {p3, p4}, Landroidx/work/OneTimeWorkRequest$Builder;-><init>(Ljava/lang/Class;)V
|
||||
|
||||
invoke-virtual {p3, p2}, Landroidx/work/WorkRequest$Builder;->setInputData(Landroidx/work/Data;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
sget-object p3, Landroidx/work/BackoffPolicy;->LINEAR:Landroidx/work/BackoffPolicy;
|
||||
|
||||
const-wide/16 p4, 0x1
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-virtual {p2, p3, p4, p5, v0}, Landroidx/work/WorkRequest$Builder;->setBackoffCriteria(Landroidx/work/BackoffPolicy;JLjava/util/concurrent/TimeUnit;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-string p3, "call"
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-string p3, "decline"
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
new-instance p3, Landroidx/work/Constraints$Builder;
|
||||
|
||||
invoke-direct {p3}, Landroidx/work/Constraints$Builder;-><init>()V
|
||||
|
||||
sget-object p4, Landroidx/work/NetworkType;->CONNECTED:Landroidx/work/NetworkType;
|
||||
|
||||
invoke-virtual {p3, p4}, Landroidx/work/Constraints$Builder;->setRequiredNetworkType(Landroidx/work/NetworkType;)Landroidx/work/Constraints$Builder;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
const-wide/16 p4, 0xa
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-virtual {p3, p4, p5, v0}, Landroidx/work/Constraints$Builder;->setTriggerContentMaxDelay(JLjava/util/concurrent/TimeUnit;)Landroidx/work/Constraints$Builder;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p3}, Landroidx/work/Constraints$Builder;->build()Landroidx/work/Constraints;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->setConstraints(Landroidx/work/Constraints;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/WorkRequest$Builder;->build()Landroidx/work/WorkRequest;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "OneTimeWorkRequestBuilde\u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest;
|
||||
|
||||
invoke-static {p1}, Landroidx/work/WorkManager;->getInstance(Landroid/content/Context;)Landroidx/work/WorkManager;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/work/WorkManager;->enqueue(Landroidx/work/WorkRequest;)Landroidx/work/Operation;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,333 +0,0 @@
|
|||
.class public final Lcom/discord/workers/CallActionWorker;
|
||||
.super Landroidx/work/Worker;
|
||||
.source "CallActionWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/discord/workers/CallActionWorker$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Lcom/discord/workers/CallActionWorker$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/workers/CallActionWorker$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/workers/CallActionWorker$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/discord/workers/CallActionWorker;->a:Lcom/discord/workers/CallActionWorker$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/work/Worker;-><init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "params"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public doWork()Landroidx/work/ListenableWorker$Result;
|
||||
.locals 16
|
||||
|
||||
const-class v1, Lcom/discord/workers/CallActionWorker;
|
||||
|
||||
sget-object v2, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v8, "javaClass.simpleName"
|
||||
|
||||
invoke-static {v3, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v4, "Starting for ["
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v5, "inputData"
|
||||
|
||||
invoke-static {v4, v5}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v4}, Landroidx/work/Data;->getKeyValueMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v4, 0x5d
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x4
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static/range {v2 .. v7}, Lcom/discord/utilities/logging/Logger;->i$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/fcm/NotificationClient;->isAuthed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v2, "Result.failure()"
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-static {v10, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x4
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
const-string v11, "Not authenticated. Aborting job request."
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/discord/utilities/io/NetworkUtils;->INSTANCE:Lcom/discord/utilities/io/NetworkUtils;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v4, "applicationContext"
|
||||
|
||||
invoke-static {v3, v4}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, v3}, Lcom/discord/utilities/io/NetworkUtils;->isDeviceConnected(Landroid/content/Context;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v3, "Result.retry()"
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->retry()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-wide/16 v4, -0x1
|
||||
|
||||
const-string v6, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-virtual {v0, v6, v4, v5}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v6
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v9, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
||||
|
||||
invoke-virtual {v0, v9, v4, v5}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
const/16 v15, 0x2d
|
||||
|
||||
:try_start_0
|
||||
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v9
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
move-wide v10, v6
|
||||
|
||||
move-wide v12, v4
|
||||
|
||||
invoke-virtual/range {v9 .. v14}, Lcom/discord/utilities/rest/RestAPI;->stopRinging(JJLjava/util/List;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lrx/Observable;->i()Le0/n/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Le0/n/b;->a()Ljava/lang/Object;
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-static {v10, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v11, "Call declined: "
|
||||
|
||||
invoke-virtual {v0, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v15}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x4
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->success()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v9, "Result.success()"
|
||||
|
||||
invoke-static {v0, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v1, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v8, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v10, "Call declined failure: "
|
||||
|
||||
invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v15}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v9, v1, v4, v0}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getRunAttemptCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
if-ge v0, v1, :cond_2
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->retry()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:goto_0
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,171 +0,0 @@
|
|||
.class public final Lcom/discord/workers/MessageAckWorker$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MessageAckWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/workers/MessageAckWorker;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;JJ)V
|
||||
.locals 4
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/work/Data$Builder;
|
||||
|
||||
invoke-direct {v0}, Landroidx/work/Data$Builder;-><init>()V
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
new-array v1, v1, [Lkotlin/Pair;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
new-instance p3, Lkotlin/Pair;
|
||||
|
||||
const-string v3, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-direct {p3, v3, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p3, v1, v2
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
invoke-static {p4, p5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
new-instance p4, Lkotlin/Pair;
|
||||
|
||||
const-string p5, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
||||
|
||||
invoke-direct {p4, p5, p3}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p4, v1, p2
|
||||
|
||||
invoke-static {v1}, Lw/q/l;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/work/Data$Builder;->putAll(Ljava/util/Map;)Landroidx/work/Data$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/Data$Builder;->build()Landroidx/work/Data;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "Data.Builder()\n \u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p3, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-class p4, Lcom/discord/workers/MessageAckWorker;
|
||||
|
||||
invoke-direct {p3, p4}, Landroidx/work/OneTimeWorkRequest$Builder;-><init>(Ljava/lang/Class;)V
|
||||
|
||||
invoke-virtual {p3, p2}, Landroidx/work/WorkRequest$Builder;->setInputData(Landroidx/work/Data;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
sget-object p3, Landroidx/work/BackoffPolicy;->LINEAR:Landroidx/work/BackoffPolicy;
|
||||
|
||||
const-wide/16 p4, 0x1
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-virtual {p2, p3, p4, p5, v0}, Landroidx/work/WorkRequest$Builder;->setBackoffCriteria(Landroidx/work/BackoffPolicy;JLjava/util/concurrent/TimeUnit;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-string p3, "message"
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-string p3, "ack"
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
new-instance p3, Landroidx/work/Constraints$Builder;
|
||||
|
||||
invoke-direct {p3}, Landroidx/work/Constraints$Builder;-><init>()V
|
||||
|
||||
sget-object p4, Landroidx/work/NetworkType;->CONNECTED:Landroidx/work/NetworkType;
|
||||
|
||||
invoke-virtual {p3, p4}, Landroidx/work/Constraints$Builder;->setRequiredNetworkType(Landroidx/work/NetworkType;)Landroidx/work/Constraints$Builder;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p3}, Landroidx/work/Constraints$Builder;->build()Landroidx/work/Constraints;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->setConstraints(Landroidx/work/Constraints;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/WorkRequest$Builder;->build()Landroidx/work/WorkRequest;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "OneTimeWorkRequestBuilde\u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest;
|
||||
|
||||
invoke-static {p1}, Landroidx/work/WorkManager;->getInstance(Landroid/content/Context;)Landroidx/work/WorkManager;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/work/WorkManager;->enqueue(Landroidx/work/WorkRequest;)Landroidx/work/Operation;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,390 +0,0 @@
|
|||
.class public final Lcom/discord/workers/MessageAckWorker;
|
||||
.super Landroidx/work/Worker;
|
||||
.source "MessageAckWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/discord/workers/MessageAckWorker$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Lcom/discord/workers/MessageAckWorker$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/workers/MessageAckWorker$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/workers/MessageAckWorker$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/discord/workers/MessageAckWorker;->a:Lcom/discord/workers/MessageAckWorker$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/work/Worker;-><init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "params"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public doWork()Landroidx/work/ListenableWorker$Result;
|
||||
.locals 17
|
||||
|
||||
const-class v1, Lcom/discord/workers/MessageAckWorker;
|
||||
|
||||
sget-object v2, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v8, "javaClass.simpleName"
|
||||
|
||||
invoke-static {v3, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v4, "Starting for ["
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v5, "inputData"
|
||||
|
||||
invoke-static {v4, v5}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v4}, Landroidx/work/Data;->getKeyValueMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v4, 0x5d
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x4
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static/range {v2 .. v7}, Lcom/discord/utilities/logging/Logger;->i$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/fcm/NotificationClient;->isAuthed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v2, "Result.failure()"
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-static {v10, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x4
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
const-string v11, "Not authenticated. Aborting job request."
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/discord/utilities/io/NetworkUtils;->INSTANCE:Lcom/discord/utilities/io/NetworkUtils;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v4, "applicationContext"
|
||||
|
||||
invoke-static {v3, v4}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, v3}, Lcom/discord/utilities/io/NetworkUtils;->isDeviceConnected(Landroid/content/Context;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v3, "Result.retry()"
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->retry()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-wide/16 v4, -0x1
|
||||
|
||||
const-string v6, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-virtual {v0, v6, v4, v5}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v6
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v9, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
||||
|
||||
invoke-virtual {v0, v9, v4, v5}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
const/16 v15, 0x2d
|
||||
|
||||
:try_start_0
|
||||
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v9
|
||||
|
||||
new-instance v10, Lcom/discord/restapi/RestAPIParams$ChannelMessagesAck;
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
invoke-static {v11}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v12
|
||||
|
||||
invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
invoke-direct {v10, v12, v11}, Lcom/discord/restapi/RestAPIParams$ChannelMessagesAck;-><init>(Ljava/lang/Boolean;Ljava/lang/Integer;)V
|
||||
|
||||
invoke-virtual {v0, v6, v7, v9, v10}, Lcom/discord/utilities/rest/RestAPI;->postChannelMessagesAck(JLjava/lang/Long;Lcom/discord/restapi/RestAPIParams$ChannelMessagesAck;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lrx/Observable;->i()Le0/n/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Le0/n/b;->a()Ljava/lang/Object;
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-static {v10, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v11, "Marked as read: "
|
||||
|
||||
invoke-virtual {v0, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v15}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x4
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v9, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v12
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
const/4 v13, 0x0
|
||||
|
||||
const/4 v14, 0x4
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
move-wide v10, v6
|
||||
|
||||
move-object/from16 v16, v2
|
||||
|
||||
const/16 v2, 0x2d
|
||||
|
||||
move-object v15, v0
|
||||
|
||||
:try_start_1
|
||||
invoke-static/range {v9 .. v15}, Lcom/discord/utilities/fcm/NotificationClient;->clear$default(Lcom/discord/utilities/fcm/NotificationClient;JLandroid/content/Context;ZILjava/lang/Object;)V
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getAnalytics()Lcom/discord/stores/StoreAnalytics;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, v6, v7}, Lcom/discord/stores/StoreAnalytics;->ackMessage(J)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->success()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v9, "Result.success()"
|
||||
|
||||
invoke-static {v0, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
move-object/from16 v16, v2
|
||||
|
||||
const/16 v2, 0x2d
|
||||
|
||||
:goto_0
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v1, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v8, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v10, "Marked as read failure: "
|
||||
|
||||
invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v9, v1, v2, v0}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getRunAttemptCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x5
|
||||
|
||||
if-ge v0, v1, :cond_2
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->retry()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
move-object/from16 v1, v16
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:goto_1
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,197 +0,0 @@
|
|||
.class public final Lcom/discord/workers/MessageSendWorker$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MessageSendWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/workers/MessageSendWorker;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;JLjava/lang/CharSequence;Ljava/lang/String;)V
|
||||
.locals 6
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
const-string v1, "message"
|
||||
|
||||
if-eqz p5, :cond_1
|
||||
|
||||
new-instance v2, Landroidx/work/Data$Builder;
|
||||
|
||||
invoke-direct {v2}, Landroidx/work/Data$Builder;-><init>()V
|
||||
|
||||
const/4 v3, 0x4
|
||||
|
||||
new-array v3, v3, [Lkotlin/Pair;
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
new-instance p3, Lkotlin/Pair;
|
||||
|
||||
const-string v5, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-direct {p3, v5, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p3, v3, v4
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
invoke-virtual {p4}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:cond_0
|
||||
new-instance p3, Lkotlin/Pair;
|
||||
|
||||
const-string p4, "com.discord.intent.extra.EXTRA_CHANNEL_NAME"
|
||||
|
||||
invoke-direct {p3, p4, v0}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p3, v3, p2
|
||||
|
||||
const/4 p2, 0x2
|
||||
|
||||
new-instance p3, Lcom/discord/models/domain/ModelMessage;
|
||||
|
||||
invoke-direct {p3}, Lcom/discord/models/domain/ModelMessage;-><init>()V
|
||||
|
||||
invoke-virtual {p3}, Lcom/discord/models/domain/ModelMessage;->getNonce()Ljava/lang/String;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
new-instance p4, Lkotlin/Pair;
|
||||
|
||||
const-string v0, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
||||
|
||||
invoke-direct {p4, v0, p3}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p4, v3, p2
|
||||
|
||||
const/4 p2, 0x3
|
||||
|
||||
new-instance p3, Lkotlin/Pair;
|
||||
|
||||
const-string p4, "MESSAGE_CONTENT"
|
||||
|
||||
invoke-direct {p3, p4, p5}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p3, v3, p2
|
||||
|
||||
invoke-static {v3}, Lw/q/l;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v2, p2}, Landroidx/work/Data$Builder;->putAll(Ljava/util/Map;)Landroidx/work/Data$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/Data$Builder;->build()Landroidx/work/Data;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "Data.Builder()\n \u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p3, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-class p4, Lcom/discord/workers/MessageSendWorker;
|
||||
|
||||
invoke-direct {p3, p4}, Landroidx/work/OneTimeWorkRequest$Builder;-><init>(Ljava/lang/Class;)V
|
||||
|
||||
invoke-virtual {p3, p2}, Landroidx/work/WorkRequest$Builder;->setInputData(Landroidx/work/Data;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
invoke-virtual {p2, v1}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-string p3, "send"
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
new-instance p3, Landroidx/work/Constraints$Builder;
|
||||
|
||||
invoke-direct {p3}, Landroidx/work/Constraints$Builder;-><init>()V
|
||||
|
||||
sget-object p4, Landroidx/work/NetworkType;->CONNECTED:Landroidx/work/NetworkType;
|
||||
|
||||
invoke-virtual {p3, p4}, Landroidx/work/Constraints$Builder;->setRequiredNetworkType(Landroidx/work/NetworkType;)Landroidx/work/Constraints$Builder;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p3}, Landroidx/work/Constraints$Builder;->build()Landroidx/work/Constraints;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->setConstraints(Landroidx/work/Constraints;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/WorkRequest$Builder;->build()Landroidx/work/WorkRequest;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "OneTimeWorkRequestBuilde\u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest;
|
||||
|
||||
invoke-static {p1}, Landroidx/work/WorkManager;->getInstance(Landroid/content/Context;)Landroidx/work/WorkManager;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/work/WorkManager;->enqueue(Landroidx/work/WorkRequest;)Landroidx/work/Operation;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -1,99 +0,0 @@
|
|||
.class public final Lcom/discord/workers/MessageSendWorker$b;
|
||||
.super Lw/u/b/k;
|
||||
.source "MessageSendWorker.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/workers/MessageSendWorker;->doWork()Landroidx/work/ListenableWorker$Result;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Ljava/lang/Integer;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $channelId:J
|
||||
|
||||
.field public final synthetic $channelName:Ljava/lang/String;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/workers/MessageSendWorker;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/workers/MessageSendWorker;JLjava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/workers/MessageSendWorker$b;->this$0:Lcom/discord/workers/MessageSendWorker;
|
||||
|
||||
iput-wide p2, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelId:J
|
||||
|
||||
iput-object p4, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelName:Ljava/lang/String;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/workers/MessageSendWorker$b;->invoke(I)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(I)V
|
||||
.locals 7
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/fcm/NotificationRenderer;->INSTANCE:Lcom/discord/utilities/fcm/NotificationRenderer;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/workers/MessageSendWorker$b;->this$0:Lcom/discord/workers/MessageSendWorker;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "applicationContext"
|
||||
|
||||
invoke-static {v1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v2, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelId:J
|
||||
|
||||
iget-object v4, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelName:Ljava/lang/String;
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
move v6, p1
|
||||
|
||||
invoke-virtual/range {v0 .. v6}, Lcom/discord/utilities/fcm/NotificationRenderer;->displaySent(Landroid/content/Context;JLjava/lang/CharSequence;ZI)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,518 +0,0 @@
|
|||
.class public final Lcom/discord/workers/MessageSendWorker;
|
||||
.super Landroidx/work/Worker;
|
||||
.source "MessageSendWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/discord/workers/MessageSendWorker$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Lcom/discord/workers/MessageSendWorker$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/workers/MessageSendWorker$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/workers/MessageSendWorker$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/discord/workers/MessageSendWorker;->a:Lcom/discord/workers/MessageSendWorker$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/work/Worker;-><init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "params"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public doWork()Landroidx/work/ListenableWorker$Result;
|
||||
.locals 24
|
||||
|
||||
const-class v1, Lcom/discord/workers/MessageSendWorker;
|
||||
|
||||
sget-object v2, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v8, "javaClass.simpleName"
|
||||
|
||||
invoke-static {v3, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v4, "Starting for ["
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v5, "inputData"
|
||||
|
||||
invoke-static {v4, v5}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v4}, Landroidx/work/Data;->getKeyValueMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v4, 0x5d
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x4
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static/range {v2 .. v7}, Lcom/discord/utilities/logging/Logger;->i$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/fcm/NotificationClient;->isAuthed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v2, "Result.failure()"
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-static {v10, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x4
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
const-string v11, "Not authenticated. Aborting job request."
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/discord/utilities/io/NetworkUtils;->INSTANCE:Lcom/discord/utilities/io/NetworkUtils;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v4, "applicationContext"
|
||||
|
||||
invoke-static {v3, v4}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, v3}, Lcom/discord/utilities/io/NetworkUtils;->isDeviceConnected(Landroid/content/Context;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getRunAttemptCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
if-ge v0, v1, :cond_1
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->retry()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "Result.retry()"
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:goto_0
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-wide/16 v5, -0x1
|
||||
|
||||
const-string v3, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-virtual {v0, v3, v5, v6}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v3, "com.discord.intent.extra.EXTRA_CHANNEL_NAME"
|
||||
|
||||
invoke-virtual {v0, v3}, Landroidx/work/Data;->getString(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
const-string v0, ""
|
||||
|
||||
:goto_1
|
||||
move-object v3, v0
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v7, "MESSAGE_CONTENT"
|
||||
|
||||
invoke-virtual {v0, v7}, Landroidx/work/Data;->getString(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
const-string v0, "Result.success()"
|
||||
|
||||
if-eqz v10, :cond_6
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
const-string v9, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
||||
|
||||
invoke-virtual {v7, v9}, Landroidx/work/Data;->getString(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
:try_start_0
|
||||
sget-object v9, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v9}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v15
|
||||
|
||||
new-instance v14, Lcom/discord/restapi/RestAPIParams$Message;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x0
|
||||
|
||||
const/16 v16, 0xc
|
||||
|
||||
const/16 v17, 0x0
|
||||
|
||||
move-object v9, v14
|
||||
|
||||
move-object v7, v14
|
||||
|
||||
move/from16 v14, v16
|
||||
|
||||
move-object/from16 v16, v3
|
||||
|
||||
move-object v3, v15
|
||||
|
||||
move-object/from16 v15, v17
|
||||
|
||||
:try_start_1
|
||||
invoke-direct/range {v9 .. v15}, Lcom/discord/restapi/RestAPIParams$Message;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
invoke-virtual {v3, v5, v6, v7}, Lcom/discord/utilities/rest/RestAPI;->sendMessage(JLcom/discord/restapi/RestAPIParams$Message;)Lrx/Observable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static {v3, v7}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn(Lrx/Observable;Z)Lrx/Observable;
|
||||
|
||||
move-result-object v9
|
||||
|
||||
const-wide/16 v10, 0x0
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x3
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3}, Lrx/Observable;->i()Le0/n/b;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3}, Le0/n/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lcom/discord/models/domain/ModelMessage;
|
||||
|
||||
sget-object v7, Lcom/discord/utilities/fcm/NotificationCache;->INSTANCE:Lcom/discord/utilities/fcm/NotificationCache;
|
||||
|
||||
invoke-virtual {v7, v5, v6}, Lcom/discord/utilities/fcm/NotificationCache;->get(J)Lcom/discord/utilities/fcm/NotificationData$DisplayPayload;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
if-eqz v7, :cond_5
|
||||
|
||||
invoke-virtual {v7}, Lcom/discord/utilities/fcm/NotificationData$DisplayPayload;->getExtras()Ljava/util/List;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
invoke-static {v7}, Lw/q/l;->lastOrNull(Ljava/util/List;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
check-cast v7, Lcom/discord/utilities/fcm/NotificationData;
|
||||
|
||||
if-eqz v7, :cond_4
|
||||
|
||||
const-string v9, "message"
|
||||
|
||||
invoke-static {v3, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v7, v3}, Lcom/discord/utilities/fcm/NotificationData;->copyForDirectReply(Lcom/discord/models/domain/ModelMessage;)Lcom/discord/utilities/fcm/NotificationData;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
sget-object v9, Lcom/discord/utilities/fcm/NotificationRenderer;->INSTANCE:Lcom/discord/utilities/fcm/NotificationRenderer;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-static {v10, v4}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget-object v4, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
||||
|
||||
invoke-virtual {v4}, Lcom/discord/utilities/fcm/NotificationClient;->getSettings$app_productionDiscordExternalRelease()Lcom/discord/utilities/fcm/NotificationClient$SettingsV2;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v9, v10, v7, v4}, Lcom/discord/utilities/fcm/NotificationRenderer;->display(Landroid/content/Context;Lcom/discord/utilities/fcm/NotificationData;Lcom/discord/utilities/fcm/NotificationClient$SettingsV2;)V
|
||||
|
||||
sget-object v18, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-static {v4, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v7, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v9, "Direct reply: "
|
||||
|
||||
invoke-virtual {v7, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v7, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v9, 0x2d
|
||||
|
||||
invoke-virtual {v7, v9}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v3}, Lcom/discord/models/domain/ModelMessage;->getId()J
|
||||
|
||||
move-result-wide v9
|
||||
|
||||
invoke-virtual {v7, v9, v10}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v20
|
||||
|
||||
const/16 v21, 0x0
|
||||
|
||||
const/16 v22, 0x4
|
||||
|
||||
const/16 v23, 0x0
|
||||
|
||||
move-object/from16 v19, v4
|
||||
|
||||
invoke-static/range {v18 .. v23}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v3, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v3}, Lcom/discord/stores/StoreStream$Companion;->getAnalytics()Lcom/discord/stores/StoreAnalytics;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, v5, v6}, Lcom/discord/stores/StoreAnalytics;->ackMessage(J)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->success()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-static {v3, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v0, v3
|
||||
|
||||
move-object/from16 v3, p0
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_4
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_5
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
return-object v0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
move-object/from16 v16, v3
|
||||
|
||||
:goto_2
|
||||
sget-object v3, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v1, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v4, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v7, "Direct reply failure: "
|
||||
|
||||
invoke-virtual {v4, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v3, v1, v4, v0}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/fcm/NotificationCache;->INSTANCE:Lcom/discord/utilities/fcm/NotificationCache;
|
||||
|
||||
new-instance v1, Lcom/discord/workers/MessageSendWorker$b;
|
||||
|
||||
move-object/from16 v3, p0
|
||||
|
||||
move-object/from16 v4, v16
|
||||
|
||||
invoke-direct {v1, v3, v5, v6, v4}, Lcom/discord/workers/MessageSendWorker$b;-><init>(Lcom/discord/workers/MessageSendWorker;JLjava/lang/String;)V
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
invoke-virtual {v0, v5, v6, v4, v1}, Lcom/discord/utilities/fcm/NotificationCache;->remove(JZLkotlin/jvm/functions/Function1;)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:goto_3
|
||||
return-object v0
|
||||
|
||||
:cond_6
|
||||
move-object/from16 v3, p0
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->success()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v1
|
||||
.end method
|
|
@ -1,185 +0,0 @@
|
|||
.class public final Lcom/discord/workers/TimedMuteWorker$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "TimedMuteWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/workers/TimedMuteWorker;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;JJJ)V
|
||||
.locals 4
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/work/Data$Builder;
|
||||
|
||||
invoke-direct {v0}, Landroidx/work/Data$Builder;-><init>()V
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
new-array v1, v1, [Lkotlin/Pair;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
new-instance p3, Lkotlin/Pair;
|
||||
|
||||
const-string v3, "com.discord.intent.extra.EXTRA_GUILD_ID"
|
||||
|
||||
invoke-direct {p3, v3, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p3, v1, v2
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
invoke-static {p4, p5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
new-instance p4, Lkotlin/Pair;
|
||||
|
||||
const-string p5, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-direct {p4, p5, p3}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p4, v1, p2
|
||||
|
||||
const/4 p2, 0x2
|
||||
|
||||
invoke-static {p6, p7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
new-instance p4, Lkotlin/Pair;
|
||||
|
||||
const-string p5, "com.discord.intent.extra.EXTRA_UNTIL_TIMESTAMP_MS"
|
||||
|
||||
invoke-direct {p4, p5, p3}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object p4, v1, p2
|
||||
|
||||
invoke-static {v1}, Lw/q/l;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/work/Data$Builder;->putAll(Ljava/util/Map;)Landroidx/work/Data$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/Data$Builder;->build()Landroidx/work/Data;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "Data.Builder()\n \u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p3, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-class p4, Lcom/discord/workers/TimedMuteWorker;
|
||||
|
||||
invoke-direct {p3, p4}, Landroidx/work/OneTimeWorkRequest$Builder;-><init>(Ljava/lang/Class;)V
|
||||
|
||||
invoke-virtual {p3, p2}, Landroidx/work/WorkRequest$Builder;->setInputData(Landroidx/work/Data;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
sget-object p3, Landroidx/work/BackoffPolicy;->LINEAR:Landroidx/work/BackoffPolicy;
|
||||
|
||||
const-wide/16 p4, 0x1
|
||||
|
||||
sget-object p6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-virtual {p2, p3, p4, p5, p6}, Landroidx/work/WorkRequest$Builder;->setBackoffCriteria(Landroidx/work/BackoffPolicy;JLjava/util/concurrent/TimeUnit;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-string p3, "channel"
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
const-string p3, "mute"
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->addTag(Ljava/lang/String;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
new-instance p3, Landroidx/work/Constraints$Builder;
|
||||
|
||||
invoke-direct {p3}, Landroidx/work/Constraints$Builder;-><init>()V
|
||||
|
||||
sget-object p4, Landroidx/work/NetworkType;->CONNECTED:Landroidx/work/NetworkType;
|
||||
|
||||
invoke-virtual {p3, p4}, Landroidx/work/Constraints$Builder;->setRequiredNetworkType(Landroidx/work/NetworkType;)Landroidx/work/Constraints$Builder;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p3}, Landroidx/work/Constraints$Builder;->build()Landroidx/work/Constraints;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/work/WorkRequest$Builder;->setConstraints(Landroidx/work/Constraints;)Landroidx/work/WorkRequest$Builder;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest$Builder;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/work/WorkRequest$Builder;->build()Landroidx/work/WorkRequest;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "OneTimeWorkRequestBuilde\u2026 )\n .build()"
|
||||
|
||||
invoke-static {p2, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p2, Landroidx/work/OneTimeWorkRequest;
|
||||
|
||||
invoke-static {p1}, Landroidx/work/WorkManager;->getInstance(Landroid/content/Context;)Landroidx/work/WorkManager;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/work/WorkManager;->enqueue(Landroidx/work/WorkRequest;)Landroidx/work/Operation;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,505 +0,0 @@
|
|||
.class public final Lcom/discord/workers/TimedMuteWorker;
|
||||
.super Landroidx/work/Worker;
|
||||
.source "TimedMuteWorker.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/discord/workers/TimedMuteWorker$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final b:Lcom/discord/workers/TimedMuteWorker$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public a:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/workers/TimedMuteWorker$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/workers/TimedMuteWorker$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/discord/workers/TimedMuteWorker;->b:Lcom/discord/workers/TimedMuteWorker$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/work/Worker;-><init>(Landroid/content/Context;Landroidx/work/WorkerParameters;)V
|
||||
|
||||
invoke-static {}, Lcom/discord/utilities/time/ClockFactory;->get()Lcom/discord/utilities/time/Clock;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lcom/discord/workers/TimedMuteWorker;->a:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "params"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public doWork()Landroidx/work/ListenableWorker$Result;
|
||||
.locals 22
|
||||
|
||||
const-string v1, " until "
|
||||
|
||||
const-class v2, Lcom/discord/workers/TimedMuteWorker;
|
||||
|
||||
sget-object v3, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v9, "javaClass.simpleName"
|
||||
|
||||
invoke-static {v4, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v5, "Starting for ["
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const-string v6, "inputData"
|
||||
|
||||
invoke-static {v5, v6}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v5}, Landroidx/work/Data;->getKeyValueMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v5, 0x5d
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x4
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
invoke-static/range {v3 .. v8}, Lcom/discord/utilities/logging/Logger;->i$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/fcm/NotificationClient;->isAuthed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v3, "Result.failure()"
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
sget-object v10, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
invoke-static {v11, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v13, 0x0
|
||||
|
||||
const/4 v14, 0x4
|
||||
|
||||
const/4 v15, 0x0
|
||||
|
||||
const-string v12, "Not authenticated. Aborting job request."
|
||||
|
||||
invoke-static/range {v10 .. v15}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/discord/utilities/io/NetworkUtils;->INSTANCE:Lcom/discord/utilities/io/NetworkUtils;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v5, "applicationContext"
|
||||
|
||||
invoke-static {v4, v5}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, v4}, Lcom/discord/utilities/io/NetworkUtils;->isDeviceConnected(Landroid/content/Context;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v4, "Result.retry()"
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->retry()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v4}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-wide/16 v5, -0x1
|
||||
|
||||
const-string v7, "com.discord.intent.extra.EXTRA_GUILD_ID"
|
||||
|
||||
invoke-virtual {v0, v7, v5, v6}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v7
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v10, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
||||
|
||||
invoke-virtual {v0, v10, v5, v6}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v14
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getInputData()Landroidx/work/Data;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-wide/16 v10, 0x0
|
||||
|
||||
const-string v12, "com.discord.intent.extra.EXTRA_UNTIL_TIMESTAMP_MS"
|
||||
|
||||
invoke-virtual {v0, v12, v10, v11}, Landroidx/work/Data;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v10
|
||||
|
||||
cmp-long v0, v7, v5
|
||||
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
cmp-long v0, v14, v5
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
goto/16 :goto_3
|
||||
|
||||
:cond_2
|
||||
move-object/from16 v5, p0
|
||||
|
||||
iget-object v0, v5, Lcom/discord/workers/TimedMuteWorker;->a:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
invoke-interface {v0}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v12
|
||||
|
||||
const-string v0, "Result.success()"
|
||||
|
||||
cmp-long v6, v12, v10
|
||||
|
||||
if-lez v6, :cond_3
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->success()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_3
|
||||
invoke-static {v10, v11}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-static {v6}, Lcom/discord/utilities/time/TimeUtils;->toUTCDateTime(Ljava/lang/Long;)Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
new-instance v10, Lcom/discord/restapi/RestAPIParams$UserGuildSettings;
|
||||
|
||||
new-instance v11, Lcom/discord/restapi/RestAPIParams$UserGuildSettings$ChannelOverride;
|
||||
|
||||
const/4 v12, 0x1
|
||||
|
||||
invoke-static {v12}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v17
|
||||
|
||||
new-instance v12, Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-direct {v12, v6}, Lcom/discord/models/domain/ModelMuteConfig;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const/16 v19, 0x0
|
||||
|
||||
const/16 v20, 0x4
|
||||
|
||||
const/16 v21, 0x0
|
||||
|
||||
move-object/from16 v16, v11
|
||||
|
||||
move-object/from16 v18, v12
|
||||
|
||||
invoke-direct/range {v16 .. v21}, Lcom/discord/restapi/RestAPIParams$UserGuildSettings$ChannelOverride;-><init>(Ljava/lang/Boolean;Lcom/discord/models/domain/ModelMuteConfig;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
invoke-direct {v10, v14, v15, v11}, Lcom/discord/restapi/RestAPIParams$UserGuildSettings;-><init>(JLcom/discord/restapi/RestAPIParams$UserGuildSettings$ChannelOverride;)V
|
||||
|
||||
:try_start_0
|
||||
sget-object v11, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v11}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
invoke-virtual {v11, v7, v8, v10}, Lcom/discord/utilities/rest/RestAPI;->updateUserGuildSettings(JLcom/discord/restapi/RestAPIParams$UserGuildSettings;)Lrx/Observable;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-virtual {v10}, Lrx/Observable;->i()Le0/n/b;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-virtual {v10}, Le0/n/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
check-cast v10, Lcom/discord/models/domain/ModelNotificationSettings;
|
||||
|
||||
sget-object v16, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
invoke-virtual {v11}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
invoke-static {v11, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v13, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v12, "Muted: "
|
||||
|
||||
invoke-virtual {v13, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v13, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v12, 0x2d
|
||||
|
||||
invoke-virtual {v13, v12}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v13, v14, v15}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v13, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v13, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v18
|
||||
|
||||
const/16 v19, 0x0
|
||||
|
||||
const/16 v20, 0x4
|
||||
|
||||
const/16 v21, 0x0
|
||||
|
||||
move-object/from16 v17, v11
|
||||
|
||||
invoke-static/range {v16 .. v21}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v11, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v16
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
const/16 v17, 0x0
|
||||
|
||||
const/16 v18, 0x4
|
||||
|
||||
const/16 v19, 0x0
|
||||
|
||||
const/16 v5, 0x2d
|
||||
|
||||
move-wide v12, v14
|
||||
|
||||
move-wide/from16 v20, v14
|
||||
|
||||
move-object/from16 v14, v16
|
||||
|
||||
move/from16 v15, v17
|
||||
|
||||
move/from16 v16, v18
|
||||
|
||||
move-object/from16 v17, v19
|
||||
|
||||
:try_start_1
|
||||
invoke-static/range {v11 .. v17}, Lcom/discord/utilities/fcm/NotificationClient;->clear$default(Lcom/discord/utilities/fcm/NotificationClient;JLandroid/content/Context;ZILjava/lang/Object;)V
|
||||
|
||||
sget-object v11, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v11}, Lcom/discord/stores/StoreStream$Companion;->getAnalytics()Lcom/discord/stores/StoreAnalytics;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
const-string v12, "notifSettings"
|
||||
|
||||
invoke-static {v10, v12}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static/range {v20 .. v21}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v12
|
||||
|
||||
invoke-virtual {v11, v10, v12}, Lcom/discord/stores/StoreAnalytics;->onNotificationSettingsUpdated(Lcom/discord/models/domain/ModelNotificationSettings;Ljava/lang/Long;)V
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->success()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
invoke-static {v10, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
move-wide/from16 v20, v14
|
||||
|
||||
const/16 v5, 0x2d
|
||||
|
||||
:goto_0
|
||||
sget-object v10, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-static {v2, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v9, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v11, "Mute failure: "
|
||||
|
||||
invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v9, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
move-wide/from16 v7, v20
|
||||
|
||||
invoke-virtual {v9, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v9, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v9, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v10, v2, v1, v0}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroidx/work/ListenableWorker;->getRunAttemptCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
if-ge v0, v1, :cond_4
|
||||
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->retry()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v4}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:goto_1
|
||||
move-object v10, v0
|
||||
|
||||
:goto_2
|
||||
return-object v10
|
||||
|
||||
:cond_5
|
||||
:goto_3
|
||||
invoke-static {}, Landroidx/work/ListenableWorker$Result;->failure()Landroidx/work/ListenableWorker$Result;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,116 +0,0 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/CameraFragment$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/CameraFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->d:I
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->d:I
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-eq v0, v1, :cond_3
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
if-eq v0, v1, :cond_1
|
||||
|
||||
const/4 p1, 0x3
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onCameraFacingClick(Lcom/lytefast/flexinput/fragment/CameraFragment;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
check-cast p1, Landroid/widget/ImageView;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onCameraFlashClick(Lcom/lytefast/flexinput/fragment/CameraFragment;Landroid/widget/ImageView;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Lw/l;
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type android.widget.ImageView"
|
||||
|
||||
invoke-direct {p1, v0}, Lw/l;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onLaunchCameraClick(Lcom/lytefast/flexinput/fragment/CameraFragment;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->getCameraView()Lcom/camerakit/CameraKitView;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {p1, v0}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onTakePhotoClick(Lcom/lytefast/flexinput/fragment/CameraFragment;Lcom/camerakit/CameraKitView;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,93 +0,0 @@
|
|||
.class public final Le/a/a/c/b$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Le/a/a/c/b;->onViewBound(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Le/a/a/c/b$a;->d:I
|
||||
|
||||
iput-object p2, p0, Le/a/a/c/b$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 3
|
||||
|
||||
iget p1, p0, Le/a/a/c/b$a;->d:I
|
||||
|
||||
const-string v0, "viewModel"
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-ne p1, v2, :cond_1
|
||||
|
||||
iget-object p1, p0, Le/a/a/c/b$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/a/a/c/b;
|
||||
|
||||
iget-object p1, p1, Le/a/a/c/b;->j:Le/a/a/c/i;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Le/a/a/c/i;->b()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
invoke-static {v0}, Lw/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_1
|
||||
throw v1
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Le/a/a/c/b$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/a/a/c/b;
|
||||
|
||||
iget-object p1, p1, Le/a/a/c/b;->j:Le/a/a/c/i;
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
invoke-virtual {p1}, Le/a/a/c/i;->a()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
invoke-static {v0}, Lw/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v1
|
||||
.end method
|
|
@ -1,83 +0,0 @@
|
|||
.class public final Le/a/a/e/a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Le/a/a/e/a;->a(Lcom/discord/stores/StoreGifting$GiftState$RedeemedFailed;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Le/a/a/e/a$a;->d:I
|
||||
|
||||
iput-object p2, p0, Le/a/a/e/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 1
|
||||
|
||||
iget p1, p0, Le/a/a/e/a$a;->d:I
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
iget-object p1, p0, Le/a/a/e/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/a/a/e/a;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getGifting()Lcom/discord/stores/StoreGifting;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v0, p0, Le/a/a/e/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/discord/stores/StoreGifting$GiftState$RedeemedFailed;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreGifting$GiftState$RedeemedFailed;->getGift()Lcom/discord/models/domain/ModelGift;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/stores/StoreGifting;->acceptGift(Lcom/discord/models/domain/ModelGift;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,119 +0,0 @@
|
|||
.class public final Le/a/a/f$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Le/a/a/f;->onViewBound(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
.field public final synthetic f:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Le/a/a/f$a;->d:I
|
||||
|
||||
iput-object p2, p0, Le/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
iput-object p3, p0, Le/a/a/f$a;->f:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 3
|
||||
|
||||
iget p1, p0, Le/a/a/f$a;->d:I
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const-string v1, "requireContext()"
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-ne p1, v2, :cond_0
|
||||
|
||||
iget-object p1, p0, Le/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/a/a/f;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Le/a/a/f$a;->f:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Ljava/lang/String;
|
||||
|
||||
const-string v1, "username"
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v1, 0x7f120452
|
||||
|
||||
invoke-static {p1, v0, v1}, Le/a/b/j;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
|
||||
|
||||
iget-object p1, p0, Le/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/a/a/f;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
iget-object p1, p0, Le/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/a/a/f;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Le/a/a/f$a;->f:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Ljava/lang/String;
|
||||
|
||||
const/4 v2, 0x4
|
||||
|
||||
invoke-static {p1, v1, v0, v2, v0}, Lcom/discord/utilities/uri/UriHandler;->handle$default(Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Le/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/a/a/f;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,80 +0,0 @@
|
|||
.class public final Le/b/a/a/a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Le/b/a/a/a;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Le/b/a/a/a$a;->d:I
|
||||
|
||||
iput-object p2, p0, Le/b/a/a/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 1
|
||||
|
||||
iget p1, p0, Le/b/a/a/a$a;->d:I
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
iget-object p1, p0, Le/b/a/a/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/b/a/a/a;
|
||||
|
||||
invoke-virtual {p1}, Le/b/a/a/a;->d()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
iget-object p1, p0, Le/b/a/a/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Le/b/a/a/a;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/fragment/app/DialogFragment;->isCancelable()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-virtual {p1}, Le/b/a/a/a;->c()V
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
|
@ -1,124 +0,0 @@
|
|||
.class public final Lf;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lf;->d:I
|
||||
|
||||
iput-object p2, p0, Lf;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 5
|
||||
|
||||
iget p1, p0, Lf;->d:I
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Landroid/content/Intent;
|
||||
|
||||
sget-object v1, Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;->INSTANCE:Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;->getApp()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v2, p0, Lf;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v2, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {v2}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-class v3, Lcom/discord/app/AppActivity$Main;
|
||||
|
||||
const-string v4, "android.intent.action.VIEW"
|
||||
|
||||
invoke-direct {v0, v4, v1, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V
|
||||
|
||||
const/high16 v1, 0x10000000
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
||||
|
||||
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
sget-object p1, Lcom/discord/utilities/voice/DiscordOverlayService;->Companion:Lcom/discord/utilities/voice/DiscordOverlayService$Companion;
|
||||
|
||||
iget-object v0, p0, Lf;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "context"
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/utilities/voice/DiscordOverlayService$Companion;->launchForVoiceChannelSelect(Landroid/content/Context;)V
|
||||
|
||||
iget-object p1, p0, Lf;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,90 +0,0 @@
|
|||
.class public final Lg;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final e:Lg;
|
||||
|
||||
.field public static final f:Lg;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lg;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lg;-><init>(I)V
|
||||
|
||||
sput-object v0, Lg;->e:Lg;
|
||||
|
||||
new-instance v0, Lg;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, v1}, Lg;-><init>(I)V
|
||||
|
||||
sput-object v0, Lg;->f:Lg;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(I)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lg;->d:I
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 1
|
||||
|
||||
iget p1, p0, Lg;->d:I
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->toggleSelfMuted()Z
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getAudioDevices()Lcom/discord/stores/StoreAudioDevices;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreAudioDevices;->toggleSpeakerOutput()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,60 +0,0 @@
|
|||
.class public final synthetic Lh;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic a:[I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
invoke-static {}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;->values()[Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
sput-object v0, Lh;->a:[I
|
||||
|
||||
sget-object v0, Lh;->a:[I
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;->FORCE_ENABLED:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aput v2, v0, v1
|
||||
|
||||
sget-object v0, Lh;->a:[I
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;->FORCE_DISABLED:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
aput v2, v0, v1
|
||||
|
||||
sget-object v0, Lh;->a:[I
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;->DEFAULT:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
aput v2, v0, v1
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,74 +0,0 @@
|
|||
.class public final Li$a$a;
|
||||
.super Lw/u/b/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li$a;->onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
.field public final synthetic this$0:Li$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$a$a;->this$0:Li$a;
|
||||
|
||||
iput-object p2, p0, Li$a$a;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Li$a$a;->invoke()V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final invoke()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Li$a$a;->this$0:Li$a;
|
||||
|
||||
iget-object v0, v0, Li$a;->a:Li;
|
||||
|
||||
iget-object v1, p0, Li$a$a;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
invoke-static {v0, v1}, Li;->a(Li;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,74 +0,0 @@
|
|||
.class public final Li$a$b;
|
||||
.super Lw/u/b/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li$a;->onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
.field public final synthetic this$0:Li$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$a$b;->this$0:Li$a;
|
||||
|
||||
iput-object p2, p0, Li$a$b;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Li$a$b;->invoke()V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final invoke()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Li$a$b;->this$0:Li$a;
|
||||
|
||||
iget-object v0, v0, Li$a;->a:Li;
|
||||
|
||||
iget-object v1, p0, Li$a$b;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
invoke-static {v0, v1}, Li;->a(Li;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,74 +0,0 @@
|
|||
.class public final Li$a$c;
|
||||
.super Lw/u/b/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li$a;->onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
.field public final synthetic this$0:Li$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$a$c;->this$0:Li$a;
|
||||
|
||||
iput-object p2, p0, Li$a$c;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Li$a$c;->invoke()V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final invoke()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Li$a$c;->this$0:Li$a;
|
||||
|
||||
iget-object v0, v0, Li$a;->a:Li;
|
||||
|
||||
iget-object v1, p0, Li$a$c;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
invoke-static {v0, v1}, Li;->a(Li;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,190 +0,0 @@
|
|||
.class public final Li$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->a(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;ZLkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Li;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li;Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;ZJ)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$a;->a:Li;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onConnected(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;Ljava/util/List;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;",
|
||||
"Ljava/util/List<",
|
||||
"Le/a/e/l/a;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "supportedVideoCodecs"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "transportInfo"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "connection"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
sget-object v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;->DISCONNECTED:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
if-ne p2, v0, :cond_0
|
||||
|
||||
iget-object p2, p0, Li$a;->a:Li;
|
||||
|
||||
new-instance v0, Li$a$b;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Li$a$b;-><init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
invoke-static {p2, v0}, Li;->a(Li;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const-string p1, "connectionState"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "connection"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 2
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Li$a;->a:Li;
|
||||
|
||||
new-instance v1, Li$a$a;
|
||||
|
||||
invoke-direct {v1, p0, p1}, Li$a$a;-><init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
invoke-static {v0, v1}, Li;->a(Li;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "connection"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object p2, p0, Li$a;->a:Li;
|
||||
|
||||
new-instance v0, Li$a$c;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Li$a$c;-><init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
invoke-static {p2, v0}, Li;->a(Li;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "exception"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "connection"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public onSpeaking(JIZ)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onVideo(JLjava/lang/Integer;III)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,80 +0,0 @@
|
|||
.class public final Li$b;
|
||||
.super Lw/u/b/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->a(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;ZLkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $connection:Le/a/e/l/b/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Le/a/e/l/b/a;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$b;->$connection:Le/a/e/l/b/a;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Li$b;->$connection:Le/a/e/l/b/a;
|
||||
|
||||
invoke-interface {p1, v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;->onNewConnection(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "it"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;
|
||||
|
||||
invoke-virtual {p0, p1}, Li$b;->a(Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,81 +0,0 @@
|
|||
.class public final Li$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Comparisons.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/Comparator;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->a([Ljava/lang/String;)Ljava/util/List;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/util/Comparator<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;TT;)I"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
check-cast p1, Ljava/lang/String;
|
||||
|
||||
const-string v0, "H264"
|
||||
|
||||
invoke-static {p1, v0}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
xor-int/lit8 p1, p1, 0x1
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p2, Ljava/lang/String;
|
||||
|
||||
invoke-static {p2, v0}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
xor-int/lit8 p2, p2, 0x1
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-static {p1, p2}, Le/k/a/c/e/p/g;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -1,70 +0,0 @@
|
|||
.class public final Li$d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->c()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lrx/Emitter<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Li;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$d;->d:Li;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lrx/Emitter;
|
||||
|
||||
iget-object v0, p0, Li$d;->d:Li;
|
||||
|
||||
invoke-static {v0}, Li;->a(Li;)Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Lj;
|
||||
|
||||
invoke-direct {v1, p1}, Lj;-><init>(Lrx/Emitter;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/hammerandchisel/libdiscord/Discord;->getAudioSubsystem(Lcom/hammerandchisel/libdiscord/Discord$GetAudioSubsystemCallback;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -1,65 +0,0 @@
|
|||
.class public final Li$e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->b()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Le/a/e/l/a;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Li;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$e;->d:Li;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
iget-object v0, p0, Li$e;->d:Li;
|
||||
|
||||
const-string v1, "codecs"
|
||||
|
||||
invoke-static {p1, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, v0, Li;->d:Ljava/util/List;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,68 +0,0 @@
|
|||
.class public final Li$f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Le0/l/i;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->b()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Le0/l/i<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Li$f;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Li$f;
|
||||
|
||||
invoke-direct {v0}, Li$f;-><init>()V
|
||||
|
||||
sput-object v0, Li$f;->d:Li$f;
|
||||
|
||||
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 call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,61 +0,0 @@
|
|||
.class public final Li$g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/hammerandchisel/libdiscord/Discord$LocalVoiceLevelChangedCallback;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->b(Lkotlin/jvm/functions/Function1;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$g;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onLocalVoiceLevelChanged(FI)V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
and-int/2addr p2, v0
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
iget-object p2, p0, Li$g;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$LocalVoiceStatus;
|
||||
|
||||
invoke-direct {v1, p1, v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$LocalVoiceStatus;-><init>(FZ)V
|
||||
|
||||
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,67 +0,0 @@
|
|||
.class public final Li$h;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lorg/webrtc/Logging$ExternalReporter;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->e()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Li;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Li$h;->a:Li;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Li$h;->a:Li;
|
||||
|
||||
iget-object v1, v0, Li;->h:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string v0, "tag"
|
||||
|
||||
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "message"
|
||||
|
||||
invoke-static {p2, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/16 v6, 0x8
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
move-object v3, p2
|
||||
|
||||
move-object v4, p3
|
||||
|
||||
invoke-static/range {v1 .. v7}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,116 +0,0 @@
|
|||
.class public final synthetic Li$i;
|
||||
.super Lw/u/b/i;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Li;->e()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1019
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lw/u/b/i;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Li$i;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Li$i;
|
||||
|
||||
invoke-direct {v0}, Li$i;-><init>()V
|
||||
|
||||
sput-object v0, Li$i;->d:Li$i;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p0, v0}, Lw/u/b/i;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-interface {p1}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;->onNativeEngineInitialized()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "p1"
|
||||
|
||||
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final getName()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "onNativeEngineInitialized"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;
|
||||
|
||||
invoke-static {v0}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getSignature()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "onNativeEngineInitialized()V"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;
|
||||
|
||||
invoke-virtual {p0, p1}, Li$i;->a(Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -1,50 +0,0 @@
|
|||
.class public final Lj;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/hammerandchisel/libdiscord/Discord$GetAudioSubsystemCallback;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lrx/Emitter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Emitter;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lj;->a:Lrx/Emitter;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onAudioSubsystem(Ljava/lang/String;Ljava/lang/String;)V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lj;->a:Lrx/Emitter;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;
|
||||
|
||||
const-string v2, "audioSubsystem"
|
||||
|
||||
invoke-static {p1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v2, "audioLayer"
|
||||
|
||||
invoke-static {p2, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v1, p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {v0, v1}, Le0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Lj;->a:Lrx/Emitter;
|
||||
|
||||
invoke-interface {p1}, Le0/g;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,54 +0,0 @@
|
|||
.class public final Lk;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/hammerandchisel/libdiscord/Discord$GetSupportedVideoCodecsCallback;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Ll;
|
||||
|
||||
.field public final synthetic b:Lrx/Emitter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ll;Lrx/Emitter;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lk;->a:Ll;
|
||||
|
||||
iput-object p2, p0, Lk;->b:Lrx/Emitter;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onSupportedVideoCodecs([Ljava/lang/String;)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lk;->a:Ll;
|
||||
|
||||
iget-object v0, v0, Ll;->d:Li;
|
||||
|
||||
const-string v1, "videoCodecsStringArray"
|
||||
|
||||
invoke-static {p1, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, p1}, Li;->a(Li;[Ljava/lang/String;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v0, p0, Lk;->b:Lrx/Emitter;
|
||||
|
||||
invoke-interface {v0, p1}, Le0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Lk;->b:Lrx/Emitter;
|
||||
|
||||
invoke-interface {p1}, Le0/g;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,61 +0,0 @@
|
|||
.class public final Ll;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lrx/Emitter<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Li;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Ll;->d:Li;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lrx/Emitter;
|
||||
|
||||
iget-object v0, p0, Ll;->d:Li;
|
||||
|
||||
invoke-static {v0}, Li;->a(Li;)Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Lk;
|
||||
|
||||
invoke-direct {v1, p0, p1}, Lk;-><init>(Ll;Lrx/Emitter;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/hammerandchisel/libdiscord/Discord;->getSupportedVideoCodecs(Lcom/hammerandchisel/libdiscord/Discord$GetSupportedVideoCodecsCallback;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -1,40 +0,0 @@
|
|||
.class public final Lm;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/hammerandchisel/libdiscord/Discord$GetVideoInputDevicesCallback;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lm;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic onDevices([Lco/discord/media_engine/VideoInputDeviceDescription;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lm;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "invoke(...)"
|
||||
|
||||
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,40 +0,0 @@
|
|||
.class public final Ln;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function0;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ln;->d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic run()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Ln;->d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "invoke(...)"
|
||||
|
||||
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,36 +0,0 @@
|
|||
.class public final Lo;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetFriendsAddUserRequestsModel.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Func2;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function2;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lo;->d:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lo;->d:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue