* 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>
490 lines
9.9 KiB
Smali
490 lines
9.9 KiB
Smali
.class final Lkotlin/ranges/ClosedDoubleRange;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/ranges/ClosedFloatingPointRange;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lkotlin/ranges/ClosedFloatingPointRange<",
|
|
"Ljava/lang/Double;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\u0008\n\n\u0002\u0010\u000b\n\u0002\u0008\u0007\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000e\n\u0000\u0008\u0002\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u0001B\u0017\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u00a2\u0006\u0004\u0008\u0005\u0010\u0006J\u0018\u0010\u000c\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u00022\u0006\u0010\u000f\u001a\u00020\u0002H\u0016J\u0011\u0010\u0010\u001a\u00020\r2\u0006\u0010\u0011\u001a\u00020\u0002H\u0096\u0002J\u0008\u0010\u0012\u001a\u00020\rH\u0016J\u0013\u0010\u0013\u001a\u00020\r2\u0008\u0010\u0014\u001a\u0004\u0018\u00010\u0015H\u0096\u0002J\u0008\u0010\u0016\u001a\u00020\u0017H\u0016J\u0008\u0010\u0018\u001a\u00020\u0019H\u0016R\u000e\u0010\u0007\u001a\u00020\u0002X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0008\u001a\u00020\u0002X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0003\u001a\u00020\u00028VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\t\u0010\nR\u0014\u0010\u0004\u001a\u00020\u00028VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u000b\u0010\n\u00a8\u0006\u001a"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/ranges/ClosedDoubleRange;",
|
|
"Lkotlin/ranges/ClosedFloatingPointRange;",
|
|
"",
|
|
"start",
|
|
"endInclusive",
|
|
"<init>",
|
|
"(DD)V",
|
|
"_start",
|
|
"_endInclusive",
|
|
"getStart",
|
|
"()Ljava/lang/Double;",
|
|
"getEndInclusive",
|
|
"lessThanOrEquals",
|
|
"",
|
|
"a",
|
|
"b",
|
|
"contains",
|
|
"value",
|
|
"isEmpty",
|
|
"equals",
|
|
"other",
|
|
"",
|
|
"hashCode",
|
|
"",
|
|
"toString",
|
|
"",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final _endInclusive:D
|
|
|
|
.field private final _start:D
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(DD)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iput-wide p1, p0, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
.line 5
|
|
.line 6
|
|
iput-wide p3, p0, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public contains(D)Z
|
|
.locals 2
|
|
|
|
.line 2
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
cmpl-double v0, p1, v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
cmpg-double p1, p1, v0
|
|
|
|
if-gtz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic contains(Ljava/lang/Comparable;)Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
check-cast p1, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Number;->doubleValue()D
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p0, v0, v1}, Lkotlin/ranges/ClosedDoubleRange;->contains(D)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
instance-of v0, p1, Lkotlin/ranges/ClosedDoubleRange;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {p0}, Lkotlin/ranges/ClosedDoubleRange;->isEmpty()Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
move-object v0, p1
|
|
|
|
.line 12
|
|
check-cast v0, Lkotlin/ranges/ClosedDoubleRange;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v0}, Lkotlin/ranges/ClosedDoubleRange;->isEmpty()Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
if-nez v0, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
:cond_0
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
.line 21
|
|
.line 22
|
|
check-cast p1, Lkotlin/ranges/ClosedDoubleRange;
|
|
|
|
.line 23
|
|
.line 24
|
|
iget-wide v2, p1, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
.line 25
|
|
.line 26
|
|
cmpg-double v0, v0, v2
|
|
|
|
.line 27
|
|
.line 28
|
|
if-nez v0, :cond_2
|
|
|
|
.line 29
|
|
.line 30
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
.line 31
|
|
.line 32
|
|
iget-wide v2, p1, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
.line 33
|
|
.line 34
|
|
cmpg-double p1, v0, v2
|
|
|
|
.line 35
|
|
.line 36
|
|
if-nez p1, :cond_2
|
|
|
|
.line 37
|
|
.line 38
|
|
:cond_1
|
|
const/4 p1, 0x1
|
|
|
|
.line 39
|
|
return p1
|
|
|
|
.line 40
|
|
:cond_2
|
|
const/4 p1, 0x0
|
|
|
|
.line 41
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic getEndInclusive()Ljava/lang/Comparable;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/ranges/ClosedDoubleRange;->getEndInclusive()Ljava/lang/Double;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getEndInclusive()Ljava/lang/Double;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 2
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic getStart()Ljava/lang/Comparable;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/ranges/ClosedDoubleRange;->getStart()Ljava/lang/Double;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getStart()Ljava/lang/Double;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 2
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 5
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/ranges/ClosedDoubleRange;->isEmpty()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v0, -0x1
|
|
|
|
.line 8
|
|
return v0
|
|
|
|
.line 9
|
|
:cond_0
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->doubleToLongBits(D)J
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-wide v0
|
|
|
|
.line 15
|
|
const/16 v2, 0x20
|
|
|
|
.line 16
|
|
.line 17
|
|
ushr-long v3, v0, v2
|
|
|
|
.line 18
|
|
.line 19
|
|
xor-long/2addr v0, v3
|
|
|
|
.line 20
|
|
long-to-int v0, v0
|
|
|
|
.line 21
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
.line 22
|
|
.line 23
|
|
iget-wide v3, p0, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-static {v3, v4}, Ljava/lang/Double;->doubleToLongBits(D)J
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-wide v3
|
|
|
|
.line 29
|
|
ushr-long v1, v3, v2
|
|
|
|
.line 30
|
|
.line 31
|
|
xor-long/2addr v1, v3
|
|
|
|
.line 32
|
|
long-to-int v1, v1
|
|
|
|
.line 33
|
|
add-int/2addr v0, v1
|
|
|
|
.line 34
|
|
return v0
|
|
.end method
|
|
|
|
.method public isEmpty()Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-wide v2, p0, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
.line 4
|
|
.line 5
|
|
cmpg-double v0, v0, v2
|
|
|
|
.line 6
|
|
.line 7
|
|
if-lez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v0, 0x1
|
|
|
|
.line 10
|
|
return v0
|
|
|
|
.line 11
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 12
|
|
return v0
|
|
.end method
|
|
|
|
.method public lessThanOrEquals(DD)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
cmpg-double p1, p1, p3
|
|
|
|
if-gtz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic lessThanOrEquals(Ljava/lang/Comparable;Ljava/lang/Comparable;)Z
|
|
.locals 2
|
|
|
|
.line 2
|
|
check-cast p1, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Number;->doubleValue()D
|
|
|
|
move-result-wide v0
|
|
|
|
check-cast p2, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Number;->doubleValue()D
|
|
|
|
move-result-wide p1
|
|
|
|
invoke-virtual {p0, v0, v1, p1, p2}, Lkotlin/ranges/ClosedDoubleRange;->lessThanOrEquals(DD)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-wide v1, p0, Lkotlin/ranges/ClosedDoubleRange;->_start:D
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const-string v1, ".."
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget-wide v1, p0, Lkotlin/ranges/ClosedDoubleRange;->_endInclusive:D
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object v0
|
|
|
|
.line 25
|
|
return-object v0
|
|
.end method
|