apkfuckery/com.discord/smali/com/discord/stores/StoreMediaNotification$Noti...

563 lines
14 KiB
Smali

.class public final Lcom/discord/stores/StoreMediaNotification$NotificationData;
.super Ljava/lang/Object;
.source "StoreMediaNotification.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/stores/StoreMediaNotification;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "NotificationData"
.end annotation
# instance fields
.field public final channelName:Ljava/lang/String;
.field public final isSelfDeafened:Z
.field public final isSelfMuted:Z
.field public final proximityLockEnabled:Z
.field public final rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
.field public final stateString:I
.annotation build Landroidx/annotation/StringRes;
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection$State;Ljava/lang/String;ZZZ)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_9
if-eqz p2, :cond_8
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
iput-object p2, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
iput-boolean p3, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
iput-boolean p4, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
iput-boolean p5, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
iget-object p1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
instance-of p2, p1, Lcom/discord/rtcconnection/RtcConnection$State$d;
if-eqz p2, :cond_0
const p1, 0x7f120447
goto :goto_0
:cond_0
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$b;->a:Lcom/discord/rtcconnection/RtcConnection$State$b;
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_1
const p1, 0x7f120444
goto :goto_0
:cond_1
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$a;->a:Lcom/discord/rtcconnection/RtcConnection$State$a;
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_2
const p1, 0x7f120443
goto :goto_0
:cond_2
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$c;->a:Lcom/discord/rtcconnection/RtcConnection$State$c;
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_3
const p1, 0x7f120446
goto :goto_0
:cond_3
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$h;->a:Lcom/discord/rtcconnection/RtcConnection$State$h;
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_4
const p1, 0x7f12044b
goto :goto_0
:cond_4
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$g;->a:Lcom/discord/rtcconnection/RtcConnection$State$g;
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_5
const p1, 0x7f12044a
goto :goto_0
:cond_5
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$f;->a:Lcom/discord/rtcconnection/RtcConnection$State$f;
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_6
const p1, 0x7f120445
goto :goto_0
:cond_6
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$e;->a:Lcom/discord/rtcconnection/RtcConnection$State$e;
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_7
const p1, 0x7f120449
:goto_0
iput p1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->stateString:I
return-void
:cond_7
new-instance p1, Lw/g;
invoke-direct {p1}, Lw/g;-><init>()V
throw p1
:cond_8
const-string p1, "channelName"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_9
const-string p1, "rtcConnectionState"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static synthetic copy$default(Lcom/discord/stores/StoreMediaNotification$NotificationData;Lcom/discord/rtcconnection/RtcConnection$State;Ljava/lang/String;ZZZILjava/lang/Object;)Lcom/discord/stores/StoreMediaNotification$NotificationData;
.locals 3
and-int/lit8 p7, p6, 0x1
if-eqz p7, :cond_0
iget-object p1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
:cond_0
and-int/lit8 p7, p6, 0x2
if-eqz p7, :cond_1
iget-object p2, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
:cond_1
move-object p7, p2
and-int/lit8 p2, p6, 0x4
if-eqz p2, :cond_2
iget-boolean p3, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
:cond_2
move v0, p3
and-int/lit8 p2, p6, 0x8
if-eqz p2, :cond_3
iget-boolean p4, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
:cond_3
move v1, p4
and-int/lit8 p2, p6, 0x10
if-eqz p2, :cond_4
iget-boolean p5, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
:cond_4
move v2, p5
move-object p2, p0
move-object p3, p1
move-object p4, p7
move p5, v0
move p6, v1
move p7, v2
invoke-virtual/range {p2 .. p7}, Lcom/discord/stores/StoreMediaNotification$NotificationData;->copy(Lcom/discord/rtcconnection/RtcConnection$State;Ljava/lang/String;ZZZ)Lcom/discord/stores/StoreMediaNotification$NotificationData;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()Lcom/discord/rtcconnection/RtcConnection$State;
.locals 1
iget-object v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
return-object v0
.end method
.method public final component2()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
return-object v0
.end method
.method public final component3()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
return v0
.end method
.method public final component4()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
return v0
.end method
.method public final component5()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
return v0
.end method
.method public final copy(Lcom/discord/rtcconnection/RtcConnection$State;Ljava/lang/String;ZZZ)Lcom/discord/stores/StoreMediaNotification$NotificationData;
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
new-instance v0, Lcom/discord/stores/StoreMediaNotification$NotificationData;
move-object v1, v0
move-object v2, p1
move-object v3, p2
move v4, p3
move v5, p4
move v6, p5
invoke-direct/range {v1 .. v6}, Lcom/discord/stores/StoreMediaNotification$NotificationData;-><init>(Lcom/discord/rtcconnection/RtcConnection$State;Ljava/lang/String;ZZZ)V
return-object v0
:cond_0
const-string p1, "channelName"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "rtcConnectionState"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-eq p0, p1, :cond_1
instance-of v0, p1, Lcom/discord/stores/StoreMediaNotification$NotificationData;
if-eqz v0, :cond_0
check-cast p1, Lcom/discord/stores/StoreMediaNotification$NotificationData;
iget-object v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
iget-object v1, p1, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
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, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
iget-object v1, p1, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
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/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
iget-boolean v1, p1, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
if-ne v0, v1, :cond_0
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
iget-boolean v1, p1, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
if-ne v0, v1, :cond_0
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
iget-boolean p1, p1, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
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 getChannelName()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
return-object v0
.end method
.method public final getProximityLockEnabled()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
return v0
.end method
.method public final getRtcConnectionState()Lcom/discord/rtcconnection/RtcConnection$State;
.locals 1
iget-object v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
return-object v0
.end method
.method public final getStateString()I
.locals 1
iget v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->stateString:I
return v0
.end method
.method public hashCode()I
.locals 3
iget-object v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
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, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
if-eqz v2, :cond_1
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v1
:cond_1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
const/4 v2, 0x1
if-eqz v1, :cond_2
const/4 v1, 0x1
:cond_2
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
if-eqz v1, :cond_3
const/4 v1, 0x1
:cond_3
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
if-eqz v1, :cond_4
const/4 v1, 0x1
:cond_4
add-int/2addr v0, v1
return v0
.end method
.method public final isSelfDeafened()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
return v0
.end method
.method public final isSelfMuted()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
const-string v0, "NotificationData(rtcConnectionState="
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/stores/StoreMediaNotification$NotificationData;->rtcConnectionState:Lcom/discord/rtcconnection/RtcConnection$State;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", channelName="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->channelName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", isSelfMuted="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfMuted:Z
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", isSelfDeafened="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->isSelfDeafened:Z
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", proximityLockEnabled="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lcom/discord/stores/StoreMediaNotification$NotificationData;->proximityLockEnabled:Z
const-string v2, ")"
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method