2021-08-18 07:29:27 +00:00
|
|
|
package c.a.q.l0;
|
2021-08-09 22:50:52 +00:00
|
|
|
|
|
|
|
import com.discord.models.domain.ModelAuditLogEntry;
|
2021-11-01 07:19:03 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-09 22:50:52 +00:00
|
|
|
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 */
|
|
|
|
public static final class C0036a extends a {
|
2021-08-09 22:50:52 +00:00
|
|
|
public final String a;
|
|
|
|
public final boolean b;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
2021-08-18 07:29:27 +00:00
|
|
|
public C0036a(String str, boolean z2) {
|
2021-08-09 22:50:52 +00:00
|
|
|
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-08-18 07:29:27 +00:00
|
|
|
if (!(obj instanceof C0036a)) {
|
2021-08-09 22:50:52 +00:00
|
|
|
return false;
|
|
|
|
}
|
2021-08-18 07:29:27 +00:00
|
|
|
C0036a aVar = (C0036a) obj;
|
2021-08-09 22:50:52 +00:00
|
|
|
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-10-11 07:48:45 +00:00
|
|
|
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, ")");
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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) {
|
|
|
|
}
|
|
|
|
}
|