mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 02:17:18 +01:00
50 lines
1.7 KiB
Java
50 lines
1.7 KiB
Java
package com.google.android.gms.common;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.core.util.AtomicFile$$ExternalSyntheticBUOutline0;
|
|
import javax.annotation.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes7.dex */
|
|
public class PackageVerificationResult {
|
|
private final String zza;
|
|
private final boolean zzb;
|
|
|
|
@Nullable
|
|
private final String zzc;
|
|
|
|
@Nullable
|
|
private final Throwable zzd;
|
|
|
|
private PackageVerificationResult(String str, int i, boolean z, @Nullable String str2, @Nullable Throwable th, @Nullable com.google.android.gms.common.signatureverification.zza zzaVar) {
|
|
this.zza = str;
|
|
this.zzb = z;
|
|
this.zzc = str2;
|
|
this.zzd = th;
|
|
}
|
|
|
|
public static PackageVerificationResult zza(String str, @NonNull String str2, @Nullable Throwable th, @Nullable com.google.android.gms.common.signatureverification.zza zzaVar) {
|
|
return new PackageVerificationResult(str, 1, false, str2, th, null);
|
|
}
|
|
|
|
public static PackageVerificationResult zzd(String str, int i, @Nullable com.google.android.gms.common.signatureverification.zza zzaVar) {
|
|
return new PackageVerificationResult(str, i, true, null, null, null);
|
|
}
|
|
|
|
public final boolean zzb() {
|
|
return this.zzb;
|
|
}
|
|
|
|
public final void zzc() {
|
|
if (this.zzb) {
|
|
return;
|
|
}
|
|
String str = this.zzc;
|
|
Throwable th = this.zzd;
|
|
String concat = "PackageVerificationRslt: ".concat(String.valueOf(str));
|
|
if (th != null) {
|
|
throw new SecurityException(concat, th);
|
|
}
|
|
AtomicFile$$ExternalSyntheticBUOutline0.m(concat);
|
|
}
|
|
}
|