Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
package com.google.android.gms.libs.identity;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.Objects;
|
||||
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||||
import com.google.android.gms.location.DeviceOrientationRequest;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-location@@21.2.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class zzh extends AbstractSafeParcelable {
|
||||
final DeviceOrientationRequest zzc;
|
||||
final List zzd;
|
||||
final String zze;
|
||||
static final List zza = Collections.emptyList();
|
||||
static final DeviceOrientationRequest zzb = new DeviceOrientationRequest.Builder(DeviceOrientationRequest.OUTPUT_PERIOD_DEFAULT).build();
|
||||
public static final Parcelable.Creator<zzh> CREATOR = new zzi();
|
||||
|
||||
zzh(DeviceOrientationRequest deviceOrientationRequest, List list, String str) {
|
||||
this.zzc = deviceOrientationRequest;
|
||||
this.zzd = list;
|
||||
this.zze = str;
|
||||
}
|
||||
|
||||
public final boolean equals(Object obj) {
|
||||
if (!(obj instanceof zzh)) {
|
||||
return false;
|
||||
}
|
||||
zzh zzhVar = (zzh) obj;
|
||||
return Objects.equal(this.zzc, zzhVar.zzc) && Objects.equal(this.zzd, zzhVar.zzd) && Objects.equal(this.zze, zzhVar.zze);
|
||||
}
|
||||
|
||||
public final int hashCode() {
|
||||
return this.zzc.hashCode();
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
String strValueOf = String.valueOf(this.zzc);
|
||||
String strValueOf2 = String.valueOf(this.zzd);
|
||||
int length = String.valueOf(strValueOf).length();
|
||||
int length2 = String.valueOf(strValueOf2).length();
|
||||
String str = this.zze;
|
||||
StringBuilder sb = new StringBuilder(length + 68 + length2 + 7 + String.valueOf(str).length() + 2);
|
||||
sb.append("DeviceOrientationRequestInternal[deviceOrientationRequest=");
|
||||
sb.append(strValueOf);
|
||||
sb.append(", clients=");
|
||||
sb.append(strValueOf2);
|
||||
sb.append(", tag='");
|
||||
sb.append(str);
|
||||
sb.append("']");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
int iBeginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeParcelable(parcel, 1, this.zzc, i, false);
|
||||
SafeParcelWriter.writeTypedList(parcel, 2, this.zzd, false);
|
||||
SafeParcelWriter.writeString(parcel, 3, this.zze, false);
|
||||
SafeParcelWriter.finishObjectHeader(parcel, iBeginObjectHeader);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user