discord-jadx/app/src/main/java/c/a/q/l0/a.java

71 lines
2.0 KiB
Java
Raw Normal View History

2021-08-18 07:29:27 +00:00
package c.a.q.l0;
import com.discord.models.domain.ModelAuditLogEntry;
2021-11-01 07:19:03 +00:00
import d0.z.d.m;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: WiredHeadsetState.kt */
public abstract class a {
/* compiled from: WiredHeadsetState.kt */
2021-08-18 07:29:27 +00:00
/* renamed from: c.a.q.l0.a$a reason: collision with other inner class name */
2021-11-05 21:05:33 +00:00
public static final class C0035a extends a {
public final String a;
public final boolean b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
2021-11-05 21:05:33 +00:00
public C0035a(String str, boolean z2) {
super(false, null);
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
this.a = str;
this.b = z2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
2021-11-05 21:05:33 +00:00
if (!(obj instanceof C0035a)) {
return false;
}
2021-11-05 21:05:33 +00:00
C0035a aVar = (C0035a) obj;
return m.areEqual(this.a, aVar.a) && this.b == aVar.b;
}
public int hashCode() {
String str = this.a;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
boolean z2 = this.b;
if (z2) {
z2 = true;
}
int i = z2 ? 1 : 0;
int i2 = z2 ? 1 : 0;
int i3 = z2 ? 1 : 0;
return hashCode + i;
}
public String toString() {
2021-11-05 21:05:33 +00:00
StringBuilder R = c.d.b.a.a.R("PluggedIn(name=");
R.append(this.a);
R.append(", hasMic=");
return c.d.b.a.a.L(R, this.b, ")");
}
}
/* compiled from: WiredHeadsetState.kt */
public static final class b extends a {
public static final b a = new b();
public b() {
super(false, null);
}
public String toString() {
return "WiredHeadsetState.Unplugged";
}
}
public a(boolean z2, DefaultConstructorMarker defaultConstructorMarker) {
}
}