* 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>
423 lines
11 KiB
Smali
423 lines
11 KiB
Smali
.class public Landroidx/constraintlayout/widget/Constraints;
|
|
.super Landroid/view/ViewGroup;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/constraintlayout/widget/Constraints$LayoutParams;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# virtual methods
|
|
.method public final generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 3
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, -0x2
|
|
|
|
.line 4
|
|
invoke-direct {v0, v1, v1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(II)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
const/high16 v1, 0x3f800000 # 1.0f
|
|
|
|
.line 8
|
|
.line 9
|
|
iput v1, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->q0:F
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v2, 0x0
|
|
|
|
.line 12
|
|
iput-boolean v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->r0:Z
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 v2, 0x0
|
|
|
|
.line 15
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->s0:F
|
|
|
|
.line 16
|
|
.line 17
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->t0:F
|
|
|
|
.line 18
|
|
.line 19
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->u0:F
|
|
|
|
.line 20
|
|
.line 21
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->v0:F
|
|
|
|
.line 22
|
|
.line 23
|
|
iput v1, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->w0:F
|
|
|
|
.line 24
|
|
.line 25
|
|
iput v1, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->x0:F
|
|
|
|
.line 26
|
|
.line 27
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->y0:F
|
|
|
|
.line 28
|
|
.line 29
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->z0:F
|
|
|
|
.line 30
|
|
.line 31
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->A0:F
|
|
|
|
.line 32
|
|
.line 33
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->B0:F
|
|
|
|
.line 34
|
|
.line 35
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->C0:F
|
|
|
|
.line 36
|
|
.line 37
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 5
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
.line 2
|
|
invoke-direct {v0, v1, p1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
.line 3
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->q0:F
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 4
|
|
iput-boolean v3, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->r0:Z
|
|
|
|
const/4 v4, 0x0
|
|
|
|
.line 5
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->s0:F
|
|
|
|
.line 6
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->t0:F
|
|
|
|
.line 7
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->u0:F
|
|
|
|
.line 8
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->v0:F
|
|
|
|
.line 9
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->w0:F
|
|
|
|
.line 10
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->x0:F
|
|
|
|
.line 11
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->y0:F
|
|
|
|
.line 12
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->z0:F
|
|
|
|
.line 13
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->A0:F
|
|
|
|
.line 14
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->B0:F
|
|
|
|
.line 15
|
|
iput v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->C0:F
|
|
|
|
.line 16
|
|
sget-object v2, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet:[I
|
|
|
|
invoke-virtual {v1, p1, v2}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
.line 17
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
|
|
|
|
move-result v1
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_c
|
|
|
|
.line 18
|
|
invoke-virtual {p1, v3}, Landroid/content/res/TypedArray;->getIndex(I)I
|
|
|
|
move-result v2
|
|
|
|
.line 19
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_alpha:I
|
|
|
|
if-ne v2, v4, :cond_0
|
|
|
|
.line 20
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->q0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->q0:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 21
|
|
:cond_0
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_elevation:I
|
|
|
|
if-ne v2, v4, :cond_1
|
|
|
|
.line 22
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->s0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->s0:F
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 23
|
|
iput-boolean v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->r0:Z
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 24
|
|
:cond_1
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_rotationX:I
|
|
|
|
if-ne v2, v4, :cond_2
|
|
|
|
.line 25
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->u0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->u0:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 26
|
|
:cond_2
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_rotationY:I
|
|
|
|
if-ne v2, v4, :cond_3
|
|
|
|
.line 27
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->v0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->v0:F
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 28
|
|
:cond_3
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_rotation:I
|
|
|
|
if-ne v2, v4, :cond_4
|
|
|
|
.line 29
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->t0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->t0:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 30
|
|
:cond_4
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_scaleX:I
|
|
|
|
if-ne v2, v4, :cond_5
|
|
|
|
.line 31
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->w0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->w0:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 32
|
|
:cond_5
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_scaleY:I
|
|
|
|
if-ne v2, v4, :cond_6
|
|
|
|
.line 33
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->x0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->x0:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 34
|
|
:cond_6
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_transformPivotX:I
|
|
|
|
if-ne v2, v4, :cond_7
|
|
|
|
.line 35
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->y0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->y0:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 36
|
|
:cond_7
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_transformPivotY:I
|
|
|
|
if-ne v2, v4, :cond_8
|
|
|
|
.line 37
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->z0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->z0:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 38
|
|
:cond_8
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_translationX:I
|
|
|
|
if-ne v2, v4, :cond_9
|
|
|
|
.line 39
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->A0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->A0:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 40
|
|
:cond_9
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_translationY:I
|
|
|
|
if-ne v2, v4, :cond_a
|
|
|
|
.line 41
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->B0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->B0:F
|
|
|
|
goto :goto_1
|
|
|
|
.line 42
|
|
:cond_a
|
|
sget v4, Landroidx/constraintlayout/widget/R$styleable;->ConstraintSet_android_translationZ:I
|
|
|
|
if-ne v2, v4, :cond_b
|
|
|
|
.line 43
|
|
iget v4, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->C0:F
|
|
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, v0, Landroidx/constraintlayout/widget/Constraints$LayoutParams;->C0:F
|
|
|
|
:cond_b
|
|
:goto_1
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 44
|
|
:cond_c
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
|
|
.locals 1
|
|
|
|
.line 45
|
|
new-instance v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
|
|
|
|
invoke-direct {v0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getConstraintSet()Landroidx/constraintlayout/widget/ConstraintSet;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const/4 v0, 0x0
|
|
|
|
.line 5
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final onLayout(ZIIII)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|