soul-browser/app/smali_classes3/com/google/common/collect/f.smali
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* 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>
2026-08-10 16:07:14 +02:00

242 lines
5.1 KiB
Smali

.class public final synthetic Lcom/google/common/collect/f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/common/base/Function;
.implements Lcom/google/common/collect/Maps$EntryTransformer;
# instance fields
.field public final synthetic c:I
.field public final synthetic f:Ljava/lang/Object;
# direct methods
.method public synthetic constructor <init>(ILjava/lang/Object;)V
.locals 0
.line 1
iput p1, p0, Lcom/google/common/collect/f;->c:I
iput-object p2, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.line 1
iget v0, p0, Lcom/google/common/collect/f;->c:I
.line 2
.line 3
sparse-switch v0, :sswitch_data_0
.line 4
.line 5
.line 6
iget-object p1, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
.line 7
.line 8
check-cast p1, Lcom/google/common/net/a;
.line 9
.line 10
invoke-virtual {p1, p2}, Lcom/google/common/net/a;->apply(Ljava/lang/Object;)Ljava/lang/Object;
.line 11
.line 12
.line 13
move-result-object p1
.line 14
return-object p1
.line 15
:sswitch_0
iget-object p1, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
.line 16
.line 17
check-cast p1, Lcom/google/common/base/Function;
.line 18
.line 19
invoke-interface {p1, p2}, Lcom/google/common/base/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
.line 20
.line 21
.line 22
move-result-object p1
.line 23
return-object p1
.line 24
:sswitch_1
iget-object v0, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
.line 25
.line 26
check-cast v0, Lcom/google/common/collect/Multimaps$TransformedEntriesMultimap;
.line 27
.line 28
check-cast p2, Ljava/util/Collection;
.line 29
.line 30
invoke-virtual {v0, p2, p1}, Lcom/google/common/collect/Multimaps$TransformedEntriesMultimap;->f(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/Collection;
.line 31
.line 32
.line 33
move-result-object p1
.line 34
return-object p1
.line 35
:sswitch_data_0
.sparse-switch
0x1 -> :sswitch_1
0x4 -> :sswitch_0
.end sparse-switch
.end method
.method public apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.line 1
iget v0, p0, Lcom/google/common/collect/f;->c:I
.line 2
.line 3
packed-switch v0, :pswitch_data_0
.line 4
.line 5
.line 6
:pswitch_0
iget-object v0, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
.line 7
.line 8
check-cast v0, Lcom/google/common/collect/Multimap;
.line 9
.line 10
invoke-interface {v0, p1}, Lcom/google/common/collect/Multimap;->get(Ljava/lang/Object;)Ljava/util/Collection;
.line 11
.line 12
.line 13
move-result-object p1
.line 14
return-object p1
.line 15
:pswitch_1
iget-object v0, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
.line 16
.line 17
check-cast v0, Lcom/google/common/collect/Synchronized$SynchronizedTable;
.line 18
.line 19
check-cast p1, Ljava/util/Map;
.line 20
.line 21
iget-object v0, v0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 22
.line 23
new-instance v1, Lcom/google/common/collect/Synchronized$SynchronizedMap;
.line 24
.line 25
invoke-direct {v1, p1, v0}, Lcom/google/common/collect/Synchronized$SynchronizedObject;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
.line 26
.line 27
.line 28
return-object v1
.line 29
:pswitch_2
iget-object v0, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
.line 30
.line 31
check-cast v0, Lcom/google/common/collect/StandardTable;
.line 32
.line 33
invoke-virtual {v0, p1}, Lcom/google/common/collect/StandardTable;->g(Ljava/lang/Object;)Ljava/util/Map;
.line 34
.line 35
.line 36
move-result-object p1
.line 37
return-object p1
.line 38
:pswitch_3
iget-object v0, p0, Lcom/google/common/collect/f;->f:Ljava/lang/Object;
.line 39
.line 40
check-cast v0, Lcom/google/common/collect/Maps$EntryTransformer;
.line 41
.line 42
check-cast p1, Ljava/util/Map$Entry;
.line 43
.line 44
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
.line 45
.line 46
.line 47
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
.line 48
.line 49
.line 50
new-instance v1, Lcom/google/common/collect/Maps$9;
.line 51
.line 52
invoke-direct {v1, p1, v0}, Lcom/google/common/collect/Maps$9;-><init>(Ljava/util/Map$Entry;Lcom/google/common/collect/Maps$EntryTransformer;)V
.line 53
.line 54
.line 55
return-object v1
.line 56
nop
.line 57
:pswitch_data_0
.packed-switch 0x0
:pswitch_3
:pswitch_0
:pswitch_2
:pswitch_1
.end packed-switch
.end method