76 lines
2.4 KiB
Java
76 lines
2.4 KiB
Java
package com.google.android.gms.common.internal;
|
|
|
|
import android.accounts.Account;
|
|
import android.os.Bundle;
|
|
import android.os.IBinder;
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.Feature;
|
|
import com.google.android.gms.common.api.Scope;
|
|
import com.google.android.gms.common.internal.IAccountAccessor;
|
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class GetServiceRequest extends AbstractSafeParcelable {
|
|
public static final Parcelable.Creator<GetServiceRequest> CREATOR = new zzm();
|
|
static final Scope[] zza = new Scope[0];
|
|
static final Feature[] zzb = new Feature[0];
|
|
final int zzc;
|
|
final int zzd;
|
|
int zze;
|
|
String zzf;
|
|
IBinder zzg;
|
|
Scope[] zzh;
|
|
Bundle zzi;
|
|
Account zzj;
|
|
Feature[] zzk;
|
|
Feature[] zzl;
|
|
boolean zzm;
|
|
int zzn;
|
|
boolean zzo;
|
|
private String zzp;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public GetServiceRequest(int i, int i2, int i3, String str, IBinder iBinder, Scope[] scopeArr, Bundle bundle, Account account, Feature[] featureArr, Feature[] featureArr2, boolean z, int i4, boolean z2, String str2) {
|
|
scopeArr = scopeArr == null ? zza : scopeArr;
|
|
bundle = bundle == null ? new Bundle() : bundle;
|
|
featureArr = featureArr == null ? zzb : featureArr;
|
|
featureArr2 = featureArr2 == null ? zzb : featureArr2;
|
|
this.zzc = i;
|
|
this.zzd = i2;
|
|
this.zze = i3;
|
|
if ("com.google.android.gms".equals(str)) {
|
|
this.zzf = "com.google.android.gms";
|
|
} else {
|
|
this.zzf = str;
|
|
}
|
|
if (i < 2) {
|
|
this.zzj = iBinder != null ? AccountAccessor.getAccountBinderSafe(IAccountAccessor.Stub.asInterface(iBinder)) : null;
|
|
} else {
|
|
this.zzg = iBinder;
|
|
this.zzj = account;
|
|
}
|
|
this.zzh = scopeArr;
|
|
this.zzi = bundle;
|
|
this.zzk = featureArr;
|
|
this.zzl = featureArr2;
|
|
this.zzm = z;
|
|
this.zzn = i4;
|
|
this.zzo = z2;
|
|
this.zzp = str2;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
zzm.zza(this, parcel, i);
|
|
}
|
|
|
|
public final String zza() {
|
|
return this.zzp;
|
|
}
|
|
|
|
public Bundle getExtraArgs() {
|
|
return this.zzi;
|
|
}
|
|
}
|