71 lines
2 KiB
Java
71 lines
2 KiB
Java
|
package c.a.r.m0;
|
||
|
|
||
|
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.r.m0.a$a reason: collision with other inner class name */
|
||
|
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) */
|
||
|
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;
|
||
|
}
|
||
|
if (!(obj instanceof C0035a)) {
|
||
|
return false;
|
||
|
}
|
||
|
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() {
|
||
|
StringBuilder K = c.d.b.a.a.K("PluggedIn(name=");
|
||
|
K.append(this.a);
|
||
|
K.append(", hasMic=");
|
||
|
return c.d.b.a.a.F(K, 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) {
|
||
|
}
|
||
|
}
|