* 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>
359 lines
7.5 KiB
Smali
359 lines
7.5 KiB
Smali
.class public Landroidx/biometric/BiometricViewModel;
|
|
.super Landroidx/lifecycle/ViewModel;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/biometric/BiometricViewModel$NegativeButtonListener;,
|
|
Landroidx/biometric/BiometricViewModel$CallbackListener;,
|
|
Landroidx/biometric/BiometricViewModel$DefaultExecutor;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public A:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.field public d:Ljava/util/concurrent/Executor;
|
|
|
|
.field public e:Landroidx/biometric/BiometricPrompt$AuthenticationCallback;
|
|
|
|
.field public f:Landroidx/biometric/BiometricPrompt$PromptInfo;
|
|
|
|
.field public g:Landroidx/biometric/BiometricPrompt$CryptoObject;
|
|
|
|
.field public h:Landroidx/biometric/AuthenticationCallbackProvider;
|
|
|
|
.field public i:Landroidx/biometric/CancellationSignalProvider;
|
|
|
|
.field public j:Landroid/content/DialogInterface$OnClickListener;
|
|
|
|
.field public k:Ljava/lang/String;
|
|
|
|
.field public l:I
|
|
|
|
.field public m:Z
|
|
|
|
.field public n:Z
|
|
|
|
.field public o:Z
|
|
|
|
.field public p:Z
|
|
|
|
.field public q:Z
|
|
|
|
.field public r:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.field public s:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.field public t:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.field public u:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.field public v:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.field public w:Z
|
|
|
|
.field public x:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.field public y:I
|
|
|
|
.field public z:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroidx/lifecycle/ViewModel;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const/4 v0, 0x0
|
|
|
|
.line 5
|
|
iput v0, p0, Landroidx/biometric/BiometricViewModel;->l:I
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
iput-boolean v1, p0, Landroidx/biometric/BiometricViewModel;->w:Z
|
|
|
|
.line 9
|
|
.line 10
|
|
iput v0, p0, Landroidx/biometric/BiometricViewModel;->y:I
|
|
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public static h(Landroidx/lifecycle/MutableLiveData;Ljava/lang/Object;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v1
|
|
|
|
.line 9
|
|
invoke-virtual {v1}, Landroid/os/Looper;->getThread()Ljava/lang/Thread;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v1
|
|
|
|
.line 13
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p0, p1}, Landroidx/lifecycle/LiveData;->i(Ljava/lang/Object;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
|
|
.line 19
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroidx/lifecycle/MutableLiveData;->j(Ljava/lang/Object;)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final c()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->f:Landroidx/biometric/BiometricPrompt$PromptInfo;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->g:Landroidx/biometric/BiometricPrompt$CryptoObject;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
const/16 v0, 0xf
|
|
|
|
.line 10
|
|
.line 11
|
|
return v0
|
|
|
|
.line 12
|
|
:cond_0
|
|
const/16 v0, 0xff
|
|
|
|
.line 13
|
|
.line 14
|
|
return v0
|
|
|
|
.line 15
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 16
|
|
return v0
|
|
.end method
|
|
|
|
.method public final d(Landroidx/biometric/BiometricErrorData;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->s:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0}, Landroidx/lifecycle/LiveData;-><init>()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Landroidx/biometric/BiometricViewModel;->s:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->s:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {v0, p1}, Landroidx/biometric/BiometricViewModel;->h(Landroidx/lifecycle/MutableLiveData;Ljava/lang/Object;)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->A:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0}, Landroidx/lifecycle/LiveData;-><init>()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Landroidx/biometric/BiometricViewModel;->A:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->A:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {v0, p1}, Landroidx/biometric/BiometricViewModel;->h(Landroidx/lifecycle/MutableLiveData;Ljava/lang/Object;)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
return-void
|
|
.end method
|
|
|
|
.method public final f(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->z:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0}, Landroidx/lifecycle/LiveData;-><init>()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Landroidx/biometric/BiometricViewModel;->z:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->z:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object p1
|
|
|
|
.line 18
|
|
invoke-static {v0, p1}, Landroidx/biometric/BiometricViewModel;->h(Landroidx/lifecycle/MutableLiveData;Ljava/lang/Object;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
return-void
|
|
.end method
|
|
|
|
.method public final g(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->v:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0}, Landroidx/lifecycle/LiveData;-><init>()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Landroidx/biometric/BiometricViewModel;->v:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/biometric/BiometricViewModel;->v:Landroidx/lifecycle/MutableLiveData;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object p1
|
|
|
|
.line 18
|
|
invoke-static {v0, p1}, Landroidx/biometric/BiometricViewModel;->h(Landroidx/lifecycle/MutableLiveData;Ljava/lang/Object;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
return-void
|
|
.end method
|