- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
72 lines
2.2 KiB
Java
72 lines
2.2 KiB
Java
package com.google.android.gms.common.api;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.common.annotation.KeepForSdk;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.common.internal.ReflectedParcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
|
|
|
|
@SafeParcelable.Class(creator = "ScopeCreator")
|
|
/* loaded from: classes2.dex */
|
|
public final class Scope extends AbstractSafeParcelable implements ReflectedParcelable {
|
|
|
|
@NonNull
|
|
public static final Parcelable.Creator<Scope> CREATOR = new zza();
|
|
|
|
@SafeParcelable.VersionField(id = 1)
|
|
final int zza;
|
|
|
|
@SafeParcelable.Field(getter = "getScopeUri", id = 2)
|
|
private final String zzb;
|
|
|
|
@SafeParcelable.Constructor
|
|
public Scope(@SafeParcelable.Param(id = 1) int i, @SafeParcelable.Param(id = 2) String str) {
|
|
Preconditions.checkNotEmpty(str, "scopeUri must not be null or empty");
|
|
this.zza = i;
|
|
this.zzb = str;
|
|
}
|
|
|
|
public boolean equals(@Nullable Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj instanceof Scope) {
|
|
return this.zzb.equals(((Scope) obj).zzb);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@NonNull
|
|
@KeepForSdk
|
|
public String getScopeUri() {
|
|
return this.zzb;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.zzb.hashCode();
|
|
}
|
|
|
|
@NonNull
|
|
public String toString() {
|
|
return this.zzb;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(@NonNull Parcel parcel, int i) {
|
|
int i2 = this.zza;
|
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
|
SafeParcelWriter.writeInt(parcel, 1, i2);
|
|
SafeParcelWriter.writeString(parcel, 2, getScopeUri(), false);
|
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
|
}
|
|
|
|
public Scope(@NonNull String str) {
|
|
this(1, str);
|
|
}
|
|
}
|