discord-jadx/app/src/main/java/c/a/r/h0/a.java

70 lines
1.9 KiB
Java

package c.a.r.h0;
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.r.h0.a$a reason: collision with other inner class name */
public static final class C0034a 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 C0034a(String str, boolean z2) {
super(false, null);
m.checkNotNullParameter(str, "name");
this.a = str;
this.b = z2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0034a)) {
return false;
}
C0034a aVar = (C0034a) 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 L = c.d.b.a.a.L("PluggedIn(name=");
L.append(this.a);
L.append(", hasMic=");
return c.d.b.a.a.G(L, 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) {
}
}