* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1534 lines
31 KiB
Smali
1534 lines
31 KiB
Smali
.class public Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
.annotation build Lcom/google/android/gms/common/internal/ShowFirstParty;
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static zza:Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static volatile zzd:Ljava/util/Set;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static volatile zze:Ljava/util/Set;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private final zzb:Landroid/content/Context;
|
|
|
|
.field private volatile zzc:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
.param p1 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p1
|
|
|
|
.line 8
|
|
iput-object p1, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb:Landroid/content/Context;
|
|
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getInstance(Landroid/content/Context;)Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
.locals 2
|
|
.param p0 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const-class v0, Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
|
|
.line 5
|
|
.line 6
|
|
monitor-enter v0
|
|
|
|
.line 7
|
|
:try_start_0
|
|
sget-object v1, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zza:Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {p0}, Lcom/google/android/gms/common/zzo;->zza(Landroid/content/Context;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
new-instance v1, Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-direct {v1, p0}, Lcom/google/android/gms/common/GoogleSignatureVerifier;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
sput-object v1, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zza:Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
|
|
.line 20
|
|
.line 21
|
|
goto :goto_0
|
|
|
|
.line 22
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
.line 23
|
|
goto :goto_1
|
|
|
|
.line 24
|
|
:cond_0
|
|
:goto_0
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 25
|
|
sget-object p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zza:Lcom/google/android/gms/common/GoogleSignatureVerifier;
|
|
|
|
.line 26
|
|
.line 27
|
|
return-object p0
|
|
|
|
.line 28
|
|
:goto_1
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 29
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final zza(Landroid/content/pm/PackageInfo;Z)Z
|
|
.locals 10
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
if-nez p0, :cond_0
|
|
|
|
.line 3
|
|
.line 4
|
|
goto/16 :goto_8
|
|
|
|
.line 5
|
|
.line 6
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
.line 7
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v2, p0, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;
|
|
|
|
.line 10
|
|
.line 11
|
|
const-string v3, "com.android.vending"
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v2
|
|
|
|
.line 17
|
|
if-nez v2, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v2, p0, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;
|
|
|
|
.line 20
|
|
.line 21
|
|
const-string v3, "com.google.android.gms"
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v2
|
|
|
|
.line 27
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 28
|
|
.line 29
|
|
:cond_1
|
|
iget-object p1, p0, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;
|
|
|
|
.line 30
|
|
.line 31
|
|
if-nez p1, :cond_3
|
|
|
|
.line 32
|
|
.line 33
|
|
:cond_2
|
|
move p1, v0
|
|
|
|
.line 34
|
|
goto :goto_0
|
|
|
|
.line 35
|
|
:cond_3
|
|
iget p1, p1, Landroid/content/pm/ApplicationInfo;->flags:I
|
|
|
|
.line 36
|
|
.line 37
|
|
and-int/lit16 p1, p1, 0x81
|
|
|
|
.line 38
|
|
.line 39
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 40
|
|
.line 41
|
|
move p1, v1
|
|
|
|
.line 42
|
|
:cond_4
|
|
:goto_0
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 43
|
|
.line 44
|
|
:try_start_0
|
|
sget-object v2, Lcom/google/android/gms/common/zzn;->zzc:Lcom/google/android/gms/internal/common/zzah;
|
|
|
|
.line 45
|
|
.line 46
|
|
goto :goto_1
|
|
|
|
.line 47
|
|
:cond_5
|
|
sget-object v2, Lcom/google/android/gms/common/zzn;->zzb:Lcom/google/android/gms/internal/common/zzah;
|
|
|
|
.line 48
|
|
.line 49
|
|
:goto_1
|
|
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 50
|
|
.line 51
|
|
const/16 v4, 0x1c
|
|
|
|
.line 52
|
|
.line 53
|
|
if-ge v3, v4, :cond_8
|
|
|
|
.line 54
|
|
.line 55
|
|
iget-object v3, p0, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
|
|
|
|
.line 56
|
|
.line 57
|
|
const/4 v4, 0x0
|
|
|
|
.line 58
|
|
if-eqz v3, :cond_6
|
|
|
|
.line 59
|
|
.line 60
|
|
array-length v5, v3
|
|
|
|
.line 61
|
|
if-ne v5, v1, :cond_6
|
|
|
|
.line 62
|
|
.line 63
|
|
aget-object v3, v3, v0
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {v3}, Landroid/content/pm/Signature;->toByteArray()[B
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result-object v4
|
|
|
|
.line 69
|
|
:cond_6
|
|
if-eqz v4, :cond_7
|
|
|
|
.line 70
|
|
.line 71
|
|
sget-object v3, Lcom/google/android/gms/internal/common/zzah;->f:Lcom/google/android/gms/internal/common/zzal;
|
|
|
|
.line 72
|
|
.line 73
|
|
new-array v3, v1, [Ljava/lang/Object;
|
|
|
|
.line 74
|
|
.line 75
|
|
aput-object v4, v3, v0
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-static {v1, v3}, Lcom/google/android/gms/internal/common/zzai;->a(I[Ljava/lang/Object;)V
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
invoke-static {v1, v3}, Lcom/google/android/gms/internal/common/zzah;->v(I[Ljava/lang/Object;)Lcom/google/android/gms/internal/common/zzah;
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
move-result-object v3
|
|
|
|
.line 84
|
|
goto :goto_4
|
|
|
|
.line 85
|
|
:cond_7
|
|
invoke-static {}, Lcom/google/android/gms/internal/common/zzah;->s()Lcom/google/android/gms/internal/common/zzah;
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result-object v3
|
|
|
|
.line 89
|
|
goto :goto_4
|
|
|
|
.line 90
|
|
:cond_8
|
|
if-lt v3, v4, :cond_f
|
|
|
|
.line 91
|
|
.line 92
|
|
iget-object v3, p0, Landroid/content/pm/PackageInfo;->signingInfo:Landroid/content/pm/SigningInfo;
|
|
|
|
.line 93
|
|
.line 94
|
|
if-eqz v3, :cond_b
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-virtual {v3}, Landroid/content/pm/SigningInfo;->hasMultipleSigners()Z
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result v4
|
|
|
|
.line 100
|
|
if-nez v4, :cond_b
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-virtual {v3}, Landroid/content/pm/SigningInfo;->getSigningCertificateHistory()[Landroid/content/pm/Signature;
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
move-result-object v4
|
|
|
|
.line 106
|
|
if-nez v4, :cond_9
|
|
|
|
.line 107
|
|
.line 108
|
|
goto :goto_3
|
|
|
|
.line 109
|
|
:cond_9
|
|
sget-object v4, Lcom/google/android/gms/internal/common/zzah;->f:Lcom/google/android/gms/internal/common/zzal;
|
|
|
|
.line 110
|
|
.line 111
|
|
new-instance v4, Lcom/google/android/gms/internal/common/zzad;
|
|
|
|
.line 112
|
|
.line 113
|
|
invoke-direct {v4}, Lcom/google/android/gms/internal/common/zzad;-><init>()V
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
invoke-virtual {v3}, Landroid/content/pm/SigningInfo;->getSigningCertificateHistory()[Landroid/content/pm/Signature;
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
move-result-object v3
|
|
|
|
.line 120
|
|
array-length v5, v3
|
|
|
|
.line 121
|
|
move v6, v0
|
|
|
|
.line 122
|
|
:goto_2
|
|
if-ge v6, v5, :cond_a
|
|
|
|
.line 123
|
|
.line 124
|
|
aget-object v7, v3, v6
|
|
|
|
.line 125
|
|
.line 126
|
|
invoke-virtual {v7}, Landroid/content/pm/Signature;->toByteArray()[B
|
|
|
|
.line 127
|
|
.line 128
|
|
.line 129
|
|
move-result-object v7
|
|
|
|
.line 130
|
|
invoke-virtual {v4, v7}, Lcom/google/android/gms/internal/common/zzad;->b(Ljava/lang/Object;)V
|
|
|
|
.line 131
|
|
.line 132
|
|
.line 133
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
.line 134
|
|
.line 135
|
|
goto :goto_2
|
|
|
|
.line 136
|
|
:cond_a
|
|
invoke-virtual {v4}, Lcom/google/android/gms/internal/common/zzad;->c()Lcom/google/android/gms/internal/common/zzah;
|
|
|
|
.line 137
|
|
.line 138
|
|
.line 139
|
|
move-result-object v3
|
|
|
|
.line 140
|
|
goto :goto_4
|
|
|
|
.line 141
|
|
:cond_b
|
|
:goto_3
|
|
invoke-static {}, Lcom/google/android/gms/internal/common/zzah;->s()Lcom/google/android/gms/internal/common/zzah;
|
|
|
|
.line 142
|
|
.line 143
|
|
.line 144
|
|
move-result-object v3
|
|
|
|
.line 145
|
|
:goto_4
|
|
invoke-virtual {v3}, Ljava/util/AbstractCollection;->isEmpty()Z
|
|
|
|
.line 146
|
|
.line 147
|
|
.line 148
|
|
move-result v4
|
|
|
|
.line 149
|
|
if-nez v4, :cond_e
|
|
|
|
.line 150
|
|
.line 151
|
|
invoke-virtual {v3}, Lcom/google/android/gms/internal/common/zzah;->q()Lcom/google/android/gms/internal/common/zzah;
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
move-result-object v3
|
|
|
|
.line 155
|
|
invoke-interface {v3}, Ljava/util/List;->size()I
|
|
|
|
.line 156
|
|
.line 157
|
|
.line 158
|
|
move-result v4
|
|
|
|
.line 159
|
|
move v5, v0
|
|
|
|
.line 160
|
|
:goto_5
|
|
if-ge v5, v4, :cond_11
|
|
|
|
.line 161
|
|
.line 162
|
|
invoke-interface {v3, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
.line 163
|
|
.line 164
|
|
.line 165
|
|
move-result-object v6
|
|
|
|
.line 166
|
|
check-cast v6, [B
|
|
|
|
.line 167
|
|
.line 168
|
|
invoke-virtual {v2, v0}, Lcom/google/android/gms/internal/common/zzah;->w(I)Lcom/google/android/gms/internal/common/zzal;
|
|
|
|
.line 169
|
|
.line 170
|
|
.line 171
|
|
move-result-object v7
|
|
|
|
.line 172
|
|
:cond_c
|
|
invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 173
|
|
.line 174
|
|
.line 175
|
|
move-result v8
|
|
|
|
.line 176
|
|
add-int/lit8 v9, v5, 0x1
|
|
|
|
.line 177
|
|
.line 178
|
|
if-eqz v8, :cond_d
|
|
|
|
.line 179
|
|
.line 180
|
|
invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 181
|
|
.line 182
|
|
.line 183
|
|
move-result-object v8
|
|
|
|
.line 184
|
|
check-cast v8, [B
|
|
|
|
.line 185
|
|
.line 186
|
|
invoke-static {v6, v8}, Ljava/util/Arrays;->equals([B[B)Z
|
|
|
|
.line 187
|
|
.line 188
|
|
.line 189
|
|
move-result v8
|
|
|
|
.line 190
|
|
if-eqz v8, :cond_c
|
|
|
|
.line 191
|
|
.line 192
|
|
goto :goto_7
|
|
|
|
.line 193
|
|
:cond_d
|
|
move v5, v9
|
|
|
|
.line 194
|
|
goto :goto_5
|
|
|
|
.line 195
|
|
:cond_e
|
|
const-string v2, "Unable to obtain package certificate history."
|
|
|
|
.line 196
|
|
.line 197
|
|
new-instance v3, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 198
|
|
.line 199
|
|
invoke-direct {v3, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 200
|
|
.line 201
|
|
.line 202
|
|
throw v3
|
|
|
|
.line 203
|
|
:cond_f
|
|
new-instance v2, Ljava/lang/IllegalStateException;
|
|
|
|
.line 204
|
|
.line 205
|
|
invoke-direct {v2}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
.line 206
|
|
.line 207
|
|
.line 208
|
|
throw v2
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 209
|
|
:catch_0
|
|
const-string v2, "GoogleSignatureVerifier"
|
|
|
|
.line 210
|
|
.line 211
|
|
const-string v3, "package info is not set correctly"
|
|
|
|
.line 212
|
|
.line 213
|
|
invoke-static {v2, v3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 214
|
|
.line 215
|
|
.line 216
|
|
if-eqz p1, :cond_10
|
|
|
|
.line 217
|
|
.line 218
|
|
sget-object p1, Lcom/google/android/gms/common/zzn;->zza:[Lcom/google/android/gms/common/zzj;
|
|
|
|
.line 219
|
|
.line 220
|
|
invoke-static {p0, p1}, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzc(Landroid/content/pm/PackageInfo;[Lcom/google/android/gms/common/zzj;)Lcom/google/android/gms/common/zzj;
|
|
|
|
.line 221
|
|
.line 222
|
|
.line 223
|
|
move-result-object p0
|
|
|
|
.line 224
|
|
goto :goto_6
|
|
|
|
.line 225
|
|
:cond_10
|
|
sget-object p1, Lcom/google/android/gms/common/zzn;->zza:[Lcom/google/android/gms/common/zzj;
|
|
|
|
.line 226
|
|
.line 227
|
|
aget-object p1, p1, v0
|
|
|
|
.line 228
|
|
.line 229
|
|
new-array v2, v1, [Lcom/google/android/gms/common/zzj;
|
|
|
|
.line 230
|
|
.line 231
|
|
aput-object p1, v2, v0
|
|
|
|
.line 232
|
|
.line 233
|
|
invoke-static {p0, v2}, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzc(Landroid/content/pm/PackageInfo;[Lcom/google/android/gms/common/zzj;)Lcom/google/android/gms/common/zzj;
|
|
|
|
.line 234
|
|
.line 235
|
|
.line 236
|
|
move-result-object p0
|
|
|
|
.line 237
|
|
:goto_6
|
|
if-eqz p0, :cond_11
|
|
|
|
.line 238
|
|
.line 239
|
|
:goto_7
|
|
return v1
|
|
|
|
.line 240
|
|
:cond_11
|
|
:goto_8
|
|
return v0
|
|
.end method
|
|
|
|
.method private final zzb(Ljava/lang/String;ZZ)Lcom/google/android/gms/common/zzy;
|
|
.locals 5
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"PackageManagerGetSignatures"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string p2, "null pkg"
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-static {p2}, Lcom/google/android/gms/common/zzy;->zzc(Ljava/lang/String;)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p1
|
|
|
|
.line 9
|
|
return-object p1
|
|
|
|
.line 10
|
|
:cond_0
|
|
iget-object p3, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzc:Ljava/lang/String;
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p1, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result p3
|
|
|
|
.line 16
|
|
if-nez p3, :cond_8
|
|
|
|
.line 17
|
|
.line 18
|
|
sget p3, Lcom/google/android/gms/common/zzo;->zzh:I
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {}, Landroid/os/StrictMode;->allowThreadDiskReads()Landroid/os/StrictMode$ThreadPolicy;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object p3
|
|
|
|
.line 24
|
|
const/4 v0, 0x1
|
|
|
|
.line 25
|
|
:try_start_0
|
|
invoke-static {}, Lcom/google/android/gms/common/zzo;->zzb()V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
sget-object v1, Lcom/google/android/gms/common/zzo;->zzg:Lcom/google/android/gms/common/internal/zzad;
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-interface {v1}, Lcom/google/android/gms/common/internal/zzad;->zzg()Z
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result v1
|
|
:try_end_0
|
|
.catch Lcom/google/android/gms/dynamite/DynamiteModule$LoadingException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 34
|
|
invoke-static {p3}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 38
|
|
.line 39
|
|
new-instance p2, Lcom/google/android/gms/common/zzv;
|
|
|
|
.line 40
|
|
.line 41
|
|
const/4 p3, 0x0
|
|
|
|
.line 42
|
|
invoke-direct {p2, p3}, Lcom/google/android/gms/common/zzv;-><init>([B)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {p2, p1}, Lcom/google/android/gms/common/zzv;->zza(Ljava/lang/String;)Lcom/google/android/gms/common/zzv;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
iget-object p3, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb:Landroid/content/Context;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-static {p3}, Lcom/google/android/gms/common/GooglePlayServicesUtilLight;->honorsDebugCertificates(Landroid/content/Context;)Z
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result p3
|
|
|
|
.line 54
|
|
invoke-virtual {p2, p3}, Lcom/google/android/gms/common/zzv;->zzb(Z)Lcom/google/android/gms/common/zzv;
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
invoke-virtual {p2, v0}, Lcom/google/android/gms/common/zzv;->zzc(Z)Lcom/google/android/gms/common/zzv;
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
invoke-virtual {p2}, Lcom/google/android/gms/common/zzv;->zzd()Lcom/google/android/gms/common/zzw;
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move-result-object p2
|
|
|
|
.line 64
|
|
invoke-static {p2}, Lcom/google/android/gms/common/zzo;->zzc(Lcom/google/android/gms/common/zzw;)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
move-result-object p2
|
|
|
|
.line 68
|
|
goto/16 :goto_3
|
|
|
|
.line 69
|
|
.line 70
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 71
|
|
goto/16 :goto_4
|
|
|
|
.line 72
|
|
.line 73
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
.line 74
|
|
goto :goto_0
|
|
|
|
.line 75
|
|
:catch_1
|
|
move-exception v1
|
|
|
|
.line 76
|
|
:goto_0
|
|
:try_start_1
|
|
const-string v2, "GoogleCertificates"
|
|
|
|
.line 77
|
|
.line 78
|
|
const-string v3, "Failed to get Google certificates from remote"
|
|
|
|
.line 79
|
|
.line 80
|
|
invoke-static {v2, v3, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
invoke-static {p3}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
:cond_1
|
|
sget p3, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 87
|
|
.line 88
|
|
const/16 v1, 0x1c
|
|
|
|
.line 89
|
|
.line 90
|
|
if-lt p3, v1, :cond_2
|
|
|
|
.line 91
|
|
.line 92
|
|
const p3, 0x8000040
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
goto :goto_1
|
|
|
|
.line 96
|
|
:cond_2
|
|
const/16 p3, 0x40
|
|
|
|
.line 97
|
|
.line 98
|
|
:goto_1
|
|
:try_start_2
|
|
iget-object v1, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb:Landroid/content/Context;
|
|
|
|
.line 99
|
|
.line 100
|
|
invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
move-result-object v1
|
|
|
|
.line 104
|
|
invoke-virtual {v1, p1, p3}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
|
|
|
|
.line 105
|
|
.line 106
|
|
.line 107
|
|
move-result-object p3
|
|
:try_end_2
|
|
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
.line 108
|
|
iget-object v1, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb:Landroid/content/Context;
|
|
|
|
.line 109
|
|
.line 110
|
|
invoke-static {v1}, Lcom/google/android/gms/common/GooglePlayServicesUtilLight;->honorsDebugCertificates(Landroid/content/Context;)Z
|
|
|
|
.line 111
|
|
.line 112
|
|
.line 113
|
|
move-result v1
|
|
|
|
.line 114
|
|
if-nez p3, :cond_3
|
|
|
|
.line 115
|
|
.line 116
|
|
invoke-static {p2}, Lcom/google/android/gms/common/zzy;->zzc(Ljava/lang/String;)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
move-result-object p2
|
|
|
|
.line 120
|
|
goto :goto_3
|
|
|
|
.line 121
|
|
:cond_3
|
|
iget-object p2, p3, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
|
|
|
|
.line 122
|
|
.line 123
|
|
if-eqz p2, :cond_6
|
|
|
|
.line 124
|
|
.line 125
|
|
array-length p2, p2
|
|
|
|
.line 126
|
|
if-eq p2, v0, :cond_4
|
|
|
|
.line 127
|
|
.line 128
|
|
goto :goto_2
|
|
|
|
.line 129
|
|
:cond_4
|
|
new-instance p2, Lcom/google/android/gms/common/zzk;
|
|
|
|
.line 130
|
|
.line 131
|
|
iget-object v2, p3, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
|
|
|
|
.line 132
|
|
.line 133
|
|
const/4 v3, 0x0
|
|
|
|
.line 134
|
|
aget-object v2, v2, v3
|
|
|
|
.line 135
|
|
.line 136
|
|
invoke-virtual {v2}, Landroid/content/pm/Signature;->toByteArray()[B
|
|
|
|
.line 137
|
|
.line 138
|
|
.line 139
|
|
move-result-object v2
|
|
|
|
.line 140
|
|
invoke-direct {p2, v2}, Lcom/google/android/gms/common/zzk;-><init>([B)V
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
iget-object v2, p3, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;
|
|
|
|
.line 144
|
|
.line 145
|
|
invoke-static {v2, p2, v1, v3}, Lcom/google/android/gms/common/zzo;->zzd(Ljava/lang/String;Lcom/google/android/gms/common/zzj;ZZ)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 146
|
|
.line 147
|
|
.line 148
|
|
move-result-object v1
|
|
|
|
.line 149
|
|
iget-boolean v4, v1, Lcom/google/android/gms/common/zzy;->zza:Z
|
|
|
|
.line 150
|
|
.line 151
|
|
if-eqz v4, :cond_5
|
|
|
|
.line 152
|
|
.line 153
|
|
iget-object p3, p3, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;
|
|
|
|
.line 154
|
|
.line 155
|
|
if-eqz p3, :cond_5
|
|
|
|
.line 156
|
|
.line 157
|
|
iget p3, p3, Landroid/content/pm/ApplicationInfo;->flags:I
|
|
|
|
.line 158
|
|
.line 159
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
.line 160
|
|
.line 161
|
|
if-eqz p3, :cond_5
|
|
|
|
.line 162
|
|
.line 163
|
|
invoke-static {v2, p2, v3, v0}, Lcom/google/android/gms/common/zzo;->zzd(Ljava/lang/String;Lcom/google/android/gms/common/zzj;ZZ)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 164
|
|
.line 165
|
|
.line 166
|
|
move-result-object p2
|
|
|
|
.line 167
|
|
iget-boolean p2, p2, Lcom/google/android/gms/common/zzy;->zza:Z
|
|
|
|
.line 168
|
|
.line 169
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 170
|
|
.line 171
|
|
const-string p2, "debuggable release cert app rejected"
|
|
|
|
.line 172
|
|
.line 173
|
|
invoke-static {p2}, Lcom/google/android/gms/common/zzy;->zzc(Ljava/lang/String;)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 174
|
|
.line 175
|
|
.line 176
|
|
move-result-object p2
|
|
|
|
.line 177
|
|
goto :goto_3
|
|
|
|
.line 178
|
|
:cond_5
|
|
move-object p2, v1
|
|
|
|
.line 179
|
|
goto :goto_3
|
|
|
|
.line 180
|
|
:cond_6
|
|
:goto_2
|
|
const-string p2, "single cert required"
|
|
|
|
.line 181
|
|
.line 182
|
|
invoke-static {p2}, Lcom/google/android/gms/common/zzy;->zzc(Ljava/lang/String;)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 183
|
|
.line 184
|
|
.line 185
|
|
move-result-object p2
|
|
|
|
.line 186
|
|
:goto_3
|
|
iget-boolean p3, p2, Lcom/google/android/gms/common/zzy;->zza:Z
|
|
|
|
.line 187
|
|
.line 188
|
|
if-eqz p3, :cond_7
|
|
|
|
.line 189
|
|
.line 190
|
|
iput-object p1, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzc:Ljava/lang/String;
|
|
|
|
.line 191
|
|
.line 192
|
|
:cond_7
|
|
return-object p2
|
|
|
|
.line 193
|
|
:catch_2
|
|
move-exception p2
|
|
|
|
.line 194
|
|
const-string p3, "no pkg "
|
|
|
|
.line 195
|
|
.line 196
|
|
invoke-virtual {p3, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 197
|
|
.line 198
|
|
.line 199
|
|
move-result-object p1
|
|
|
|
.line 200
|
|
invoke-static {p1, p2}, Lcom/google/android/gms/common/zzy;->zzd(Ljava/lang/String;Ljava/lang/Throwable;)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 201
|
|
.line 202
|
|
.line 203
|
|
move-result-object p1
|
|
|
|
.line 204
|
|
return-object p1
|
|
|
|
.line 205
|
|
:goto_4
|
|
invoke-static {p3}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
|
|
|
|
.line 206
|
|
.line 207
|
|
.line 208
|
|
throw p1
|
|
|
|
.line 209
|
|
:cond_8
|
|
invoke-static {}, Lcom/google/android/gms/common/zzy;->zzb()Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 210
|
|
.line 211
|
|
.line 212
|
|
move-result-object p1
|
|
|
|
.line 213
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private static varargs zzc(Landroid/content/pm/PackageInfo;[Lcom/google/android/gms/common/zzj;)Lcom/google/android/gms/common/zzj;
|
|
.locals 3
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
if-nez v0, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
goto :goto_1
|
|
|
|
.line 7
|
|
:cond_0
|
|
array-length v0, v0
|
|
|
|
.line 8
|
|
const/4 v2, 0x1
|
|
|
|
.line 9
|
|
if-eq v0, v2, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
const-string p0, "GoogleSignatureVerifier"
|
|
|
|
.line 12
|
|
.line 13
|
|
const-string p1, "Package has more than one signature."
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {p0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-object v1
|
|
|
|
.line 19
|
|
:cond_1
|
|
new-instance v0, Lcom/google/android/gms/common/zzk;
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object p0, p0, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v2, 0x0
|
|
|
|
.line 24
|
|
aget-object p0, p0, v2
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {p0}, Landroid/content/pm/Signature;->toByteArray()[B
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object p0
|
|
|
|
.line 30
|
|
invoke-direct {v0, p0}, Lcom/google/android/gms/common/zzk;-><init>([B)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
:goto_0
|
|
array-length p0, p1
|
|
|
|
.line 34
|
|
if-ge v2, p0, :cond_3
|
|
|
|
.line 35
|
|
.line 36
|
|
aget-object p0, p1, v2
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/zzj;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result p0
|
|
|
|
.line 42
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 43
|
|
.line 44
|
|
aget-object p0, p1, v2
|
|
|
|
.line 45
|
|
.line 46
|
|
return-object p0
|
|
|
|
.line 47
|
|
:cond_2
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 48
|
|
.line 49
|
|
goto :goto_0
|
|
|
|
.line 50
|
|
:cond_3
|
|
:goto_1
|
|
return-object v1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public isGooglePublicSignedPackage(Landroid/content/pm/PackageInfo;)Z
|
|
.locals 3
|
|
.param p1 # Landroid/content/pm/PackageInfo;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
if-nez p1, :cond_0
|
|
|
|
.line 3
|
|
.line 4
|
|
return v0
|
|
|
|
.line 5
|
|
:cond_0
|
|
invoke-static {p1, v0}, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zza(Landroid/content/pm/PackageInfo;Z)Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v1
|
|
|
|
.line 9
|
|
const/4 v2, 0x1
|
|
|
|
.line 10
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 11
|
|
.line 12
|
|
return v2
|
|
|
|
.line 13
|
|
:cond_1
|
|
invoke-static {p1, v2}, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zza(Landroid/content/pm/PackageInfo;Z)Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result p1
|
|
|
|
.line 17
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object p1, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb:Landroid/content/Context;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-static {p1}, Lcom/google/android/gms/common/GooglePlayServicesUtilLight;->honorsDebugCertificates(Landroid/content/Context;)Z
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result p1
|
|
|
|
.line 25
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 26
|
|
.line 27
|
|
return v2
|
|
|
|
.line 28
|
|
:cond_2
|
|
const-string p1, "GoogleSignatureVerifier"
|
|
|
|
.line 29
|
|
.line 30
|
|
const-string v1, "Test-keys aren\'t accepted on this build."
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-static {p1, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
:cond_3
|
|
return v0
|
|
.end method
|
|
|
|
.method public isPackageGoogleSigned(Ljava/lang/String;)Z
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
.annotation build Lcom/google/android/gms/common/internal/ShowFirstParty;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-direct {p0, p1, v0, v0}, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb(Ljava/lang/String;ZZ)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
move-result-object p1
|
|
|
|
.line 6
|
|
invoke-virtual {p1}, Lcom/google/android/gms/common/zzy;->zze()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iget-boolean p1, p1, Lcom/google/android/gms/common/zzy;->zza:Z
|
|
|
|
.line 10
|
|
.line 11
|
|
return p1
|
|
.end method
|
|
|
|
.method public isUidGoogleSigned(I)Z
|
|
.locals 5
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
.annotation build Lcom/google/android/gms/common/internal/ShowFirstParty;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb:Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroid/content/pm/PackageManager;->getPackagesForUid(I)[Ljava/lang/String;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 12
|
|
.line 13
|
|
array-length v0, p1
|
|
|
|
.line 14
|
|
if-nez v0, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
goto :goto_1
|
|
|
|
.line 17
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.line 18
|
|
const/4 v2, 0x0
|
|
|
|
.line 19
|
|
move v3, v1
|
|
|
|
.line 20
|
|
:goto_0
|
|
if-ge v3, v0, :cond_2
|
|
|
|
.line 21
|
|
.line 22
|
|
aget-object v2, p1, v3
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-direct {p0, v2, v1, v1}, Lcom/google/android/gms/common/GoogleSignatureVerifier;->zzb(Ljava/lang/String;ZZ)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object v2
|
|
|
|
.line 28
|
|
iget-boolean v4, v2, Lcom/google/android/gms/common/zzy;->zza:Z
|
|
|
|
.line 29
|
|
.line 30
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 31
|
|
.line 32
|
|
goto :goto_2
|
|
|
|
.line 33
|
|
:cond_1
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
.line 34
|
|
.line 35
|
|
goto :goto_0
|
|
|
|
.line 36
|
|
:cond_2
|
|
invoke-static {v2}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
goto :goto_2
|
|
|
|
.line 40
|
|
:cond_3
|
|
:goto_1
|
|
const-string p1, "no pkgs"
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-static {p1}, Lcom/google/android/gms/common/zzy;->zzc(Ljava/lang/String;)Lcom/google/android/gms/common/zzy;
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
move-result-object v2
|
|
|
|
.line 46
|
|
:goto_2
|
|
invoke-virtual {v2}, Lcom/google/android/gms/common/zzy;->zze()V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
iget-boolean p1, v2, Lcom/google/android/gms/common/zzy;->zza:Z
|
|
|
|
.line 50
|
|
.line 51
|
|
return p1
|
|
.end method
|