* 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>
530 lines
11 KiB
Smali
530 lines
11 KiB
Smali
.class Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;
|
|
.super Landroidx/core/view/WindowInsetsAnimationCompat$Impl;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/view/WindowInsetsAnimationCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Impl21"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/view/WindowInsetsAnimationCompat$Impl21$Impl21OnApplyWindowInsetsListener;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final e:Landroid/view/animation/PathInterpolator;
|
|
|
|
.field public static final f:Landroidx/interpolator/view/animation/FastOutLinearInInterpolator;
|
|
|
|
.field public static final g:Landroid/view/animation/DecelerateInterpolator;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
new-instance v0, Landroid/view/animation/PathInterpolator;
|
|
|
|
.line 2
|
|
.line 3
|
|
const v1, 0x3f8ccccd # 1.1f
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
.line 7
|
|
.line 8
|
|
const/4 v3, 0x0
|
|
|
|
.line 9
|
|
invoke-direct {v0, v3, v1, v3, v2}, Landroid/view/animation/PathInterpolator;-><init>(FFFF)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
sput-object v0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->e:Landroid/view/animation/PathInterpolator;
|
|
|
|
.line 13
|
|
.line 14
|
|
new-instance v0, Landroidx/interpolator/view/animation/FastOutLinearInInterpolator;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-direct {v0}, Landroidx/interpolator/view/animation/FastOutLinearInInterpolator;-><init>()V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
sput-object v0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->f:Landroidx/interpolator/view/animation/FastOutLinearInInterpolator;
|
|
|
|
.line 20
|
|
.line 21
|
|
new-instance v0, Landroid/view/animation/DecelerateInterpolator;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-direct {v0}, Landroid/view/animation/DecelerateInterpolator;-><init>()V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
sput-object v0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->g:Landroid/view/animation/DecelerateInterpolator;
|
|
|
|
.line 27
|
|
.line 28
|
|
return-void
|
|
.end method
|
|
|
|
.method public static e(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {p0}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->j(Landroid/view/View;)Landroidx/core/view/WindowInsetsAnimationCompat$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->a()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iget v0, v0, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->b:I
|
|
|
|
.line 11
|
|
.line 12
|
|
if-nez v0, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
goto :goto_1
|
|
|
|
.line 15
|
|
:cond_0
|
|
instance-of v0, p0, Landroid/view/ViewGroup;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
check-cast p0, Landroid/view/ViewGroup;
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 v0, 0x0
|
|
|
|
.line 22
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result v1
|
|
|
|
.line 26
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result-object v1
|
|
|
|
.line 32
|
|
invoke-static {v1, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->e(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat;)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_0
|
|
|
|
.line 38
|
|
:cond_1
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static f(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat;Landroid/view/WindowInsets;Z)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {p0}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->j(Landroid/view/View;)Landroidx/core/view/WindowInsetsAnimationCompat$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7
|
|
.line 8
|
|
iput-object p2, v0, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->a:Landroid/view/WindowInsets;
|
|
|
|
.line 9
|
|
.line 10
|
|
if-nez p3, :cond_1
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->b()V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
iget p3, v0, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->b:I
|
|
|
|
.line 16
|
|
.line 17
|
|
if-nez p3, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 p3, 0x1
|
|
|
|
.line 20
|
|
goto :goto_0
|
|
|
|
.line 21
|
|
:cond_0
|
|
move p3, v1
|
|
|
|
.line 22
|
|
:cond_1
|
|
:goto_0
|
|
instance-of v0, p0, Landroid/view/ViewGroup;
|
|
|
|
.line 23
|
|
.line 24
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 25
|
|
.line 26
|
|
check-cast p0, Landroid/view/ViewGroup;
|
|
|
|
.line 27
|
|
.line 28
|
|
:goto_1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v0
|
|
|
|
.line 32
|
|
if-ge v1, v0, :cond_2
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result-object v0
|
|
|
|
.line 38
|
|
invoke-static {v0, p1, p2, p3}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->f(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat;Landroid/view/WindowInsets;Z)V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 42
|
|
.line 43
|
|
goto :goto_1
|
|
|
|
.line 44
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public static g(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;Ljava/util/List;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {p0}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->j(Landroid/view/View;)Landroidx/core/view/WindowInsetsAnimationCompat$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1, p2}, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->c(Landroidx/core/view/WindowInsetsCompat;Ljava/util/List;)Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object p1
|
|
|
|
.line 11
|
|
iget v0, v0, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->b:I
|
|
|
|
.line 12
|
|
.line 13
|
|
if-nez v0, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
goto :goto_1
|
|
|
|
.line 16
|
|
:cond_0
|
|
instance-of v0, p0, Landroid/view/ViewGroup;
|
|
|
|
.line 17
|
|
.line 18
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
check-cast p0, Landroid/view/ViewGroup;
|
|
|
|
.line 21
|
|
.line 22
|
|
const/4 v0, 0x0
|
|
|
|
.line 23
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v1
|
|
|
|
.line 27
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v1
|
|
|
|
.line 33
|
|
invoke-static {v1, p1, p2}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->g(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;Ljava/util/List;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 37
|
|
.line 38
|
|
goto :goto_0
|
|
|
|
.line 39
|
|
:cond_1
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static h(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat;Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {p0}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->j(Landroid/view/View;)Landroidx/core/view/WindowInsetsAnimationCompat$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p2}, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->d(Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;)Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iget v0, v0, Landroidx/core/view/WindowInsetsAnimationCompat$Callback;->b:I
|
|
|
|
.line 11
|
|
.line 12
|
|
if-nez v0, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
goto :goto_1
|
|
|
|
.line 15
|
|
:cond_0
|
|
instance-of v0, p0, Landroid/view/ViewGroup;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
check-cast p0, Landroid/view/ViewGroup;
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 v0, 0x0
|
|
|
|
.line 22
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result v1
|
|
|
|
.line 26
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result-object v1
|
|
|
|
.line 32
|
|
invoke-static {v1, p1, p2}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21;->h(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat;Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_0
|
|
|
|
.line 38
|
|
:cond_1
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static i(Landroid/view/View;Landroid/view/WindowInsets;)Landroid/view/WindowInsets;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget v0, Landroidx/core/R$id;->tag_on_apply_window_listener:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-object p1
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->onApplyWindowInsets(Landroid/view/WindowInsets;)Landroid/view/WindowInsets;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p0
|
|
|
|
.line 14
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static j(Landroid/view/View;)Landroidx/core/view/WindowInsetsAnimationCompat$Callback;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget v0, Landroidx/core/R$id;->tag_window_insets_animation_callback:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object p0
|
|
|
|
.line 7
|
|
instance-of v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21$Impl21OnApplyWindowInsetsListener;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
check-cast p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21$Impl21OnApplyWindowInsetsListener;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object p0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl21$Impl21OnApplyWindowInsetsListener;->a:Landroidx/core/view/WindowInsetsAnimationCompat$Callback;
|
|
|
|
.line 14
|
|
.line 15
|
|
return-object p0
|
|
|
|
.line 16
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
.line 17
|
|
return-object p0
|
|
.end method
|