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

71 lines
2.0 KiB
Java

package c.a.q.l0;
import com.discord.models.domain.ModelAuditLogEntry;
import d0.z.d.m;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: WiredHeadsetState.kt */
public abstract class a {
/* compiled from: WiredHeadsetState.kt */
/* renamed from: c.a.q.l0.a$a reason: collision with other inner class name */
public static final class C0036a 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) */
public C0036a(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;
}
if (!(obj instanceof C0036a)) {
return false;
}
C0036a aVar = (C0036a) 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() {
StringBuilder O = c.d.b.a.a.O("PluggedIn(name=");
O.append(this.a);
O.append(", hasMic=");
return c.d.b.a.a.K(O, 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) {
}
}