58 lines
1.7 KiB
Java
58 lines
1.7 KiB
Java
|
package com.google.firebase.auth;
|
||
|
|
||
|
import android.net.Uri;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import android.text.TextUtils;
|
||
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public class UserProfileChangeRequest extends AbstractSafeParcelable {
|
||
|
public static final Parcelable.Creator<UserProfileChangeRequest> CREATOR = new zzal();
|
||
|
private String zza;
|
||
|
private String zzb;
|
||
|
private boolean zzc;
|
||
|
private boolean zzd;
|
||
|
private Uri zze;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public UserProfileChangeRequest(String str, String str2, boolean z, boolean z2) {
|
||
|
this.zza = str;
|
||
|
this.zzb = str2;
|
||
|
this.zzc = z;
|
||
|
this.zzd = z2;
|
||
|
this.zze = TextUtils.isEmpty(str2) ? null : Uri.parse(str2);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||
|
SafeParcelWriter.writeString(parcel, 2, getDisplayName(), false);
|
||
|
SafeParcelWriter.writeString(parcel, 3, this.zzb, false);
|
||
|
SafeParcelWriter.writeBoolean(parcel, 4, this.zzc);
|
||
|
SafeParcelWriter.writeBoolean(parcel, 5, this.zzd);
|
||
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||
|
}
|
||
|
|
||
|
public final boolean zzc() {
|
||
|
return this.zzd;
|
||
|
}
|
||
|
|
||
|
public final boolean zzb() {
|
||
|
return this.zzc;
|
||
|
}
|
||
|
|
||
|
public final String zza() {
|
||
|
return this.zzb;
|
||
|
}
|
||
|
|
||
|
public Uri getPhotoUri() {
|
||
|
return this.zze;
|
||
|
}
|
||
|
|
||
|
public String getDisplayName() {
|
||
|
return this.zza;
|
||
|
}
|
||
|
}
|