* 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>
498 lines
12 KiB
Smali
498 lines
12 KiB
Smali
.class public final Lcom/google/android/gms/identitycredentials/RegistrationRequest;
|
|
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
|
|
creator = "RegistrationRequestCreator"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/android/gms/identitycredentials/RegistrationRequest$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u0007\u0018\u00002\u00020\u0001:\u0001\u0002\u00a8\u0006\u0003"
|
|
}
|
|
d2 = {
|
|
"Lcom/google/android/gms/identitycredentials/RegistrationRequest;",
|
|
"Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;",
|
|
"Companion",
|
|
"java.com.google.android.gmscore.integ.client.identity_credentials_identity_credentials"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x0,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nRegistrationRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RegistrationRequest.kt\ncom/google/android/gms/identitycredentials/RegistrationRequest\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,66:1\n1734#2,3:67\n*S KotlinDebug\n*F\n+ 1 RegistrationRequest.kt\ncom/google/android/gms/identitycredentials/RegistrationRequest\n*L\n47#1:67,3\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/google/android/gms/identitycredentials/RegistrationRequest;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/JvmField;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final c:[B
|
|
|
|
.field public final f:[B
|
|
|
|
.field public final g:Ljava/lang/String;
|
|
|
|
.field public final h:Ljava/lang/String;
|
|
|
|
.field public final i:Ljava/util/List;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/gms/identitycredentials/RegistrationRequestCreator;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
sput-object v0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>([B[BLjava/lang/String;Ljava/lang/String;Ljava/util/List;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "credentials"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "matcher"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const-string v0, "type"
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
const-string v0, "requestType"
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
const-string v0, "protocolTypes"
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-static {p5, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
iput-object p1, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->c:[B
|
|
|
|
.line 30
|
|
.line 31
|
|
iput-object p2, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->f:[B
|
|
|
|
.line 32
|
|
.line 33
|
|
iput-object p3, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->g:Ljava/lang/String;
|
|
|
|
.line 34
|
|
.line 35
|
|
iput-object p4, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->h:Ljava/lang/String;
|
|
|
|
.line 36
|
|
.line 37
|
|
iput-object p5, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->i:Ljava/util/List;
|
|
|
|
.line 38
|
|
.line 39
|
|
invoke-static {p4}, Lkotlin/text/StringsKt;->isBlank(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result p1
|
|
|
|
.line 43
|
|
const/4 p2, 0x1
|
|
|
|
.line 44
|
|
const/4 p3, 0x0
|
|
|
|
.line 45
|
|
if-nez p1, :cond_0
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-interface {p5}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result p1
|
|
|
|
.line 51
|
|
if-nez p1, :cond_0
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-interface {p5}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result p1
|
|
|
|
.line 57
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 58
|
|
.line 59
|
|
:cond_0
|
|
move p1, p3
|
|
|
|
.line 60
|
|
goto :goto_0
|
|
|
|
.line 61
|
|
:cond_1
|
|
invoke-interface {p5}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result-object p1
|
|
|
|
.line 65
|
|
:cond_2
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result p4
|
|
|
|
.line 69
|
|
if-eqz p4, :cond_0
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
move-result-object p4
|
|
|
|
.line 75
|
|
check-cast p4, Ljava/lang/String;
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-static {p4}, Lkotlin/text/StringsKt;->isBlank(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result p4
|
|
|
|
.line 81
|
|
if-nez p4, :cond_2
|
|
|
|
.line 82
|
|
.line 83
|
|
move p1, p2
|
|
|
|
.line 84
|
|
:goto_0
|
|
iget-object p4, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->g:Ljava/lang/String;
|
|
|
|
.line 85
|
|
.line 86
|
|
invoke-static {p4}, Lkotlin/text/StringsKt;->isBlank(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
move-result p4
|
|
|
|
.line 90
|
|
if-nez p4, :cond_3
|
|
|
|
.line 91
|
|
.line 92
|
|
iget-object p4, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->h:Ljava/lang/String;
|
|
|
|
.line 93
|
|
.line 94
|
|
invoke-virtual {p4}, Ljava/lang/String;->length()I
|
|
|
|
.line 95
|
|
.line 96
|
|
.line 97
|
|
move-result p4
|
|
|
|
.line 98
|
|
if-nez p4, :cond_3
|
|
|
|
.line 99
|
|
.line 100
|
|
iget-object p4, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->i:Ljava/util/List;
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-interface {p4}, Ljava/util/List;->isEmpty()Z
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
move-result p4
|
|
|
|
.line 106
|
|
if-eqz p4, :cond_3
|
|
|
|
.line 107
|
|
.line 108
|
|
goto :goto_1
|
|
|
|
.line 109
|
|
:cond_3
|
|
move p2, p3
|
|
|
|
.line 110
|
|
:goto_1
|
|
if-nez p1, :cond_5
|
|
|
|
.line 111
|
|
.line 112
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 113
|
|
.line 114
|
|
goto :goto_2
|
|
|
|
.line 115
|
|
:cond_4
|
|
iget-object p1, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->g:Ljava/lang/String;
|
|
|
|
.line 116
|
|
.line 117
|
|
iget-object p2, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->h:Ljava/lang/String;
|
|
|
|
.line 118
|
|
.line 119
|
|
iget-object p3, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->i:Ljava/util/List;
|
|
|
|
.line 120
|
|
.line 121
|
|
const-string p4, ", or requestType: "
|
|
|
|
.line 122
|
|
.line 123
|
|
const-string p5, " and protocolTypes: "
|
|
|
|
.line 124
|
|
.line 125
|
|
const-string v0, "Either type: "
|
|
|
|
.line 126
|
|
.line 127
|
|
invoke-static {v0, p1, p4, p2, p5}, Landroidx/work/impl/workers/a;->u(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 128
|
|
.line 129
|
|
.line 130
|
|
move-result-object p1
|
|
|
|
.line 131
|
|
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
const-string p2, " must be specified, but all were blank, or for protocolTypes, empty or full of blank elements."
|
|
|
|
.line 135
|
|
.line 136
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 137
|
|
.line 138
|
|
.line 139
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 140
|
|
.line 141
|
|
.line 142
|
|
move-result-object p1
|
|
|
|
.line 143
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 144
|
|
.line 145
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 146
|
|
.line 147
|
|
.line 148
|
|
throw p2
|
|
|
|
.line 149
|
|
:cond_5
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
const-string p2, "dest"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result p2
|
|
|
|
.line 10
|
|
const/4 v0, 0x1
|
|
|
|
.line 11
|
|
iget-object v1, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->c:[B
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 v2, 0x0
|
|
|
|
.line 14
|
|
invoke-static {p1, v0, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeByteArray(Landroid/os/Parcel;I[BZ)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
const/4 v0, 0x2
|
|
|
|
.line 18
|
|
iget-object v1, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->f:[B
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {p1, v0, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeByteArray(Landroid/os/Parcel;I[BZ)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
const/4 v0, 0x3
|
|
|
|
.line 24
|
|
iget-object v1, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->g:Ljava/lang/String;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-static {p1, v0, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
const/4 v0, 0x4
|
|
|
|
.line 30
|
|
iget-object v1, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->h:Ljava/lang/String;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-static {p1, v0, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
const/4 v0, 0x5
|
|
|
|
.line 36
|
|
iget-object v1, p0, Lcom/google/android/gms/identitycredentials/RegistrationRequest;->i:Ljava/util/List;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-static {p1, v0, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeStringList(Landroid/os/Parcel;ILjava/util/List;Z)V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
return-void
|
|
.end method
|