* 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>
645 lines
14 KiB
Smali
645 lines
14 KiB
Smali
.class public Lcom/google/android/material/animation/MotionSpec;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.field public final b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v1, 0x0
|
|
|
|
.line 7
|
|
invoke-direct {v0, v1}, Landroidx/collection/SimpleArrayMap;-><init>(I)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Lcom/google/android/material/animation/MotionSpec;->a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 11
|
|
.line 12
|
|
new-instance v0, Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-direct {v0, v1}, Landroidx/collection/SimpleArrayMap;-><init>(I)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
iput-object v0, p0, Lcom/google/android/material/animation/MotionSpec;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 18
|
|
.line 19
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;I)Lcom/google/android/material/animation/MotionSpec;
|
|
.locals 3
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
invoke-static {p0, p1}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
move-result-object p0
|
|
|
|
.line 6
|
|
instance-of v1, p0, Landroid/animation/AnimatorSet;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
check-cast p0, Landroid/animation/AnimatorSet;
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0}, Landroid/animation/AnimatorSet;->getChildAnimations()Ljava/util/ArrayList;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object p0
|
|
|
|
.line 16
|
|
invoke-static {p0}, Lcom/google/android/material/animation/MotionSpec;->b(Ljava/util/ArrayList;)Lcom/google/android/material/animation/MotionSpec;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object p0
|
|
|
|
.line 20
|
|
return-object p0
|
|
|
|
.line 21
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 22
|
|
goto :goto_0
|
|
|
|
.line 23
|
|
:cond_0
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {v1, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
invoke-static {v1}, Lcom/google/android/material/animation/MotionSpec;->b(Ljava/util/ArrayList;)Lcom/google/android/material/animation/MotionSpec;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 37
|
|
return-object p0
|
|
|
|
.line 38
|
|
:cond_1
|
|
return-object v0
|
|
|
|
.line 39
|
|
:goto_0
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
.line 40
|
|
.line 41
|
|
const-string v2, "Can\'t load animation resource ID #0x"
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
invoke-static {p1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result-object p1
|
|
|
|
.line 50
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result-object p1
|
|
|
|
.line 57
|
|
const-string v1, "MotionSpec"
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-static {v1, p1, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static b(Ljava/util/ArrayList;)Lcom/google/android/material/animation/MotionSpec;
|
|
.locals 13
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/material/animation/MotionSpec;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Lcom/google/android/material/animation/MotionSpec;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v1
|
|
|
|
.line 10
|
|
const/4 v2, 0x0
|
|
|
|
.line 11
|
|
move v3, v2
|
|
|
|
.line 12
|
|
:goto_0
|
|
if-ge v3, v1, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {p0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v4
|
|
|
|
.line 18
|
|
check-cast v4, Landroid/animation/Animator;
|
|
|
|
.line 19
|
|
.line 20
|
|
instance-of v5, v4, Landroid/animation/ObjectAnimator;
|
|
|
|
.line 21
|
|
.line 22
|
|
if-eqz v5, :cond_0
|
|
|
|
.line 23
|
|
.line 24
|
|
check-cast v4, Landroid/animation/ObjectAnimator;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v4}, Landroid/animation/ObjectAnimator;->getPropertyName()Ljava/lang/String;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object v5
|
|
|
|
.line 30
|
|
invoke-virtual {v4}, Landroid/animation/ValueAnimator;->getValues()[Landroid/animation/PropertyValuesHolder;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-object v6
|
|
|
|
.line 34
|
|
iget-object v7, v0, Lcom/google/android/material/animation/MotionSpec;->b:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v7, v5, v6}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
invoke-virtual {v4}, Landroid/animation/ObjectAnimator;->getPropertyName()Ljava/lang/String;
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result-object v5
|
|
|
|
.line 43
|
|
new-instance v6, Lcom/google/android/material/animation/MotionTiming;
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {v4}, Landroid/animation/ValueAnimator;->getStartDelay()J
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-wide v7
|
|
|
|
.line 49
|
|
invoke-virtual {v4}, Landroid/animation/ValueAnimator;->getDuration()J
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result-wide v9
|
|
|
|
.line 53
|
|
invoke-virtual {v4}, Landroid/animation/ValueAnimator;->getInterpolator()Landroid/animation/TimeInterpolator;
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result-object v11
|
|
|
|
.line 57
|
|
invoke-direct {v6}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
iput v2, v6, Lcom/google/android/material/animation/MotionTiming;->d:I
|
|
|
|
.line 61
|
|
.line 62
|
|
const/4 v12, 0x1
|
|
|
|
.line 63
|
|
iput v12, v6, Lcom/google/android/material/animation/MotionTiming;->e:I
|
|
|
|
.line 64
|
|
.line 65
|
|
iput-wide v7, v6, Lcom/google/android/material/animation/MotionTiming;->a:J
|
|
|
|
.line 66
|
|
.line 67
|
|
iput-wide v9, v6, Lcom/google/android/material/animation/MotionTiming;->b:J
|
|
|
|
.line 68
|
|
.line 69
|
|
iput-object v11, v6, Lcom/google/android/material/animation/MotionTiming;->c:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-virtual {v4}, Landroid/animation/ValueAnimator;->getRepeatCount()I
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
move-result v7
|
|
|
|
.line 75
|
|
iput v7, v6, Lcom/google/android/material/animation/MotionTiming;->d:I
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-virtual {v4}, Landroid/animation/ValueAnimator;->getRepeatMode()I
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result v4
|
|
|
|
.line 81
|
|
iput v4, v6, Lcom/google/android/material/animation/MotionTiming;->e:I
|
|
|
|
.line 82
|
|
.line 83
|
|
iget-object v4, v0, Lcom/google/android/material/animation/MotionSpec;->a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 84
|
|
.line 85
|
|
invoke-virtual {v4, v5, v6}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
.line 89
|
|
.line 90
|
|
goto :goto_0
|
|
|
|
.line 91
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 92
|
|
.line 93
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 94
|
|
.line 95
|
|
const-string v1, "Animator must be an ObjectAnimator: "
|
|
|
|
.line 96
|
|
.line 97
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
move-result-object v0
|
|
|
|
.line 107
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
throw p0
|
|
|
|
.line 111
|
|
:cond_1
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final c(Ljava/lang/String;)Lcom/google/android/material/animation/MotionTiming;
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/animation/MotionSpec;->a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0, p1}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object p1
|
|
|
|
.line 13
|
|
check-cast p1, Lcom/google/android/material/animation/MotionTiming;
|
|
|
|
.line 14
|
|
.line 15
|
|
return-object p1
|
|
|
|
.line 16
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-ne p0, p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p1, 0x1
|
|
|
|
.line 4
|
|
return p1
|
|
|
|
.line 5
|
|
:cond_0
|
|
instance-of v0, p1, Lcom/google/android/material/animation/MotionSpec;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 p1, 0x0
|
|
|
|
.line 10
|
|
return p1
|
|
|
|
.line 11
|
|
:cond_1
|
|
check-cast p1, Lcom/google/android/material/animation/MotionSpec;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, p0, Lcom/google/android/material/animation/MotionSpec;->a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object p1, p1, Lcom/google/android/material/animation/MotionSpec;->a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {v0, p1}, Landroidx/collection/SimpleArrayMap;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result p1
|
|
|
|
.line 21
|
|
return p1
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/animation/MotionSpec;->a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Landroidx/collection/SimpleArrayMap;->hashCode()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
return v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "\n"
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object v1
|
|
|
|
.line 12
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object v1
|
|
|
|
.line 16
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
const/16 v1, 0x7b
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result v1
|
|
|
|
.line 28
|
|
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result-object v1
|
|
|
|
.line 32
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
const-string v1, " timings: "
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
iget-object v1, p0, Lcom/google/android/material/animation/MotionSpec;->a:Landroidx/collection/SimpleArrayMap;
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
const-string v1, "}\n"
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result-object v0
|
|
|
|
.line 54
|
|
return-object v0
|
|
.end method
|