what-the-bank/sources/com/google/android/gms/common/internal/zav.java

74 lines
2.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.internal;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.internal.IAccountAccessor;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
/* loaded from: classes.dex */
public final class zav extends AbstractSafeParcelable {
public static final Parcelable.Creator<zav> CREATOR = new zaw();
final int zaa;
final IBinder zab;
private final ConnectionResult zac;
private final boolean zad;
private final boolean zae;
/* JADX INFO: Access modifiers changed from: package-private */
public zav(int i, IBinder iBinder, ConnectionResult connectionResult, boolean z, boolean z2) {
this.zaa = i;
this.zab = iBinder;
this.zac = connectionResult;
this.zad = z;
this.zae = z2;
}
public final boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (this == obj) {
return true;
}
if (!(obj instanceof zav)) {
return false;
}
zav zavVar = (zav) obj;
return this.zac.equals(zavVar.zac) && Objects.equal(zab(), zavVar.zab());
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 1, this.zaa);
SafeParcelWriter.writeIBinder(parcel, 2, this.zab, false);
SafeParcelWriter.writeParcelable(parcel, 3, this.zac, i, false);
SafeParcelWriter.writeBoolean(parcel, 4, this.zad);
SafeParcelWriter.writeBoolean(parcel, 5, this.zae);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public final IAccountAccessor zab() {
IBinder iBinder = this.zab;
if (iBinder == null) {
return null;
}
return IAccountAccessor.Stub.asInterface(iBinder);
}
public final boolean zad() {
return this.zae;
}
public final boolean zac() {
return this.zad;
}
public final ConnectionResult zaa() {
return this.zac;
}
}