soul-browser/app/smali_classes3/com/google/common/collect/Synchronized$SynchronizedNavigableSet.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

687 lines
14 KiB
Smali

.class final Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;
.super Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;
.source "SourceFile"
# interfaces
.implements Ljava/util/NavigableSet;
# annotations
.annotation build Lcom/google/common/annotations/GwtIncompatible;
.end annotation
.annotation build Lcom/google/common/annotations/VisibleForTesting;
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/Synchronized;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "SynchronizedNavigableSet"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/collect/Synchronized$SynchronizedSortedSet<",
"TE;>;",
"Ljava/util/NavigableSet<",
"TE;>;"
}
.end annotation
# instance fields
.field public transient g:Ljava/util/NavigableSet;
# virtual methods
.method public final c()Ljava/util/Collection;
.locals 1
.line 1
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
check-cast v0, Ljava/util/NavigableSet;
.line 6
.line 7
return-object v0
.end method
.method public final ceiling(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 2
.line 3
monitor-enter v0
.line 4
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 5
.line 6
.line 7
move-result-object v1
.line 8
check-cast v1, Ljava/util/NavigableSet;
.line 9
.line 10
invoke-interface {v1, p1}, Ljava/util/NavigableSet;->ceiling(Ljava/lang/Object;)Ljava/lang/Object;
.line 11
.line 12
.line 13
move-result-object p1
.line 14
monitor-exit v0
.line 15
return-object p1
.line 16
:catchall_0
move-exception p1
.line 17
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 18
throw p1
.end method
.method public final descendingIterator()Ljava/util/Iterator;
.locals 1
.line 1
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
check-cast v0, Ljava/util/NavigableSet;
.line 6
.line 7
invoke-interface {v0}, Ljava/util/NavigableSet;->descendingIterator()Ljava/util/Iterator;
.line 8
.line 9
.line 10
move-result-object v0
.line 11
return-object v0
.end method
.method public final descendingSet()Ljava/util/NavigableSet;
.locals 4
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 2
.line 3
monitor-enter v0
.line 4
:try_start_0
iget-object v1, p0, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;->g:Ljava/util/NavigableSet;
.line 5
.line 6
if-nez v1, :cond_0
.line 7
.line 8
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 9
.line 10
.line 11
move-result-object v1
.line 12
check-cast v1, Ljava/util/NavigableSet;
.line 13
.line 14
invoke-interface {v1}, Ljava/util/NavigableSet;->descendingSet()Ljava/util/NavigableSet;
.line 15
.line 16
.line 17
move-result-object v1
.line 18
iget-object v2, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 19
.line 20
new-instance v3, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;
.line 21
.line 22
invoke-direct {v3, v1, v2}, Lcom/google/common/collect/Synchronized$SynchronizedObject;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
.line 23
.line 24
.line 25
iput-object v3, p0, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;->g:Ljava/util/NavigableSet;
.line 26
.line 27
monitor-exit v0
.line 28
return-object v3
.line 29
:catchall_0
move-exception v1
.line 30
goto :goto_0
.line 31
:cond_0
monitor-exit v0
.line 32
return-object v1
.line 33
:goto_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 34
throw v1
.end method
.method public final floor(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 2
.line 3
monitor-enter v0
.line 4
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 5
.line 6
.line 7
move-result-object v1
.line 8
check-cast v1, Ljava/util/NavigableSet;
.line 9
.line 10
invoke-interface {v1, p1}, Ljava/util/NavigableSet;->floor(Ljava/lang/Object;)Ljava/lang/Object;
.line 11
.line 12
.line 13
move-result-object p1
.line 14
monitor-exit v0
.line 15
return-object p1
.line 16
:catchall_0
move-exception p1
.line 17
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 18
throw p1
.end method
.method public final g()Ljava/util/Set;
.locals 1
.line 1
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
check-cast v0, Ljava/util/NavigableSet;
.line 6
.line 7
return-object v0
.end method
.method public final headSet(Ljava/lang/Object;Z)Ljava/util/NavigableSet;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
monitor-enter v0
.line 2
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
move-result-object v1
check-cast v1, Ljava/util/NavigableSet;
.line 3
invoke-interface {v1, p1, p2}, Ljava/util/NavigableSet;->headSet(Ljava/lang/Object;Z)Ljava/util/NavigableSet;
move-result-object p1
iget-object p2, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 4
new-instance v1, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;
.line 5
invoke-direct {v1, p1, p2}, Lcom/google/common/collect/Synchronized$SynchronizedObject;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
.line 6
monitor-exit v0
return-object v1
:catchall_0
move-exception p1
.line 7
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method
.method public final headSet(Ljava/lang/Object;)Ljava/util/SortedSet;
.locals 1
const/4 v0, 0x0
.line 8
invoke-virtual {p0, p1, v0}, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;->headSet(Ljava/lang/Object;Z)Ljava/util/NavigableSet;
move-result-object p1
return-object p1
.end method
.method public final higher(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 2
.line 3
monitor-enter v0
.line 4
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 5
.line 6
.line 7
move-result-object v1
.line 8
check-cast v1, Ljava/util/NavigableSet;
.line 9
.line 10
invoke-interface {v1, p1}, Ljava/util/NavigableSet;->higher(Ljava/lang/Object;)Ljava/lang/Object;
.line 11
.line 12
.line 13
move-result-object p1
.line 14
monitor-exit v0
.line 15
return-object p1
.line 16
:catchall_0
move-exception p1
.line 17
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 18
throw p1
.end method
.method public final k()Ljava/util/SortedSet;
.locals 1
.line 1
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
check-cast v0, Ljava/util/NavigableSet;
.line 6
.line 7
return-object v0
.end method
.method public final lower(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 2
.line 3
monitor-enter v0
.line 4
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 5
.line 6
.line 7
move-result-object v1
.line 8
check-cast v1, Ljava/util/NavigableSet;
.line 9
.line 10
invoke-interface {v1, p1}, Ljava/util/NavigableSet;->lower(Ljava/lang/Object;)Ljava/lang/Object;
.line 11
.line 12
.line 13
move-result-object p1
.line 14
monitor-exit v0
.line 15
return-object p1
.line 16
:catchall_0
move-exception p1
.line 17
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 18
throw p1
.end method
.method public final pollFirst()Ljava/lang/Object;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 2
.line 3
monitor-enter v0
.line 4
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 5
.line 6
.line 7
move-result-object v1
.line 8
check-cast v1, Ljava/util/NavigableSet;
.line 9
.line 10
invoke-interface {v1}, Ljava/util/NavigableSet;->pollFirst()Ljava/lang/Object;
.line 11
.line 12
.line 13
move-result-object v1
.line 14
monitor-exit v0
.line 15
return-object v1
.line 16
:catchall_0
move-exception v1
.line 17
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 18
throw v1
.end method
.method public final pollLast()Ljava/lang/Object;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 2
.line 3
monitor-enter v0
.line 4
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
.line 5
.line 6
.line 7
move-result-object v1
.line 8
check-cast v1, Ljava/util/NavigableSet;
.line 9
.line 10
invoke-interface {v1}, Ljava/util/NavigableSet;->pollLast()Ljava/lang/Object;
.line 11
.line 12
.line 13
move-result-object v1
.line 14
monitor-exit v0
.line 15
return-object v1
.line 16
:catchall_0
move-exception v1
.line 17
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 18
throw v1
.end method
.method public final subSet(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableSet;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
monitor-enter v0
.line 2
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
move-result-object v1
check-cast v1, Ljava/util/NavigableSet;
.line 3
invoke-interface {v1, p1, p2, p3, p4}, Ljava/util/NavigableSet;->subSet(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableSet;
move-result-object p1
iget-object p2, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 4
new-instance p3, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;
.line 5
invoke-direct {p3, p1, p2}, Lcom/google/common/collect/Synchronized$SynchronizedObject;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
.line 6
monitor-exit v0
return-object p3
:catchall_0
move-exception p1
.line 7
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method
.method public final subSet(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/SortedSet;
.locals 2
const/4 v0, 0x1
const/4 v1, 0x0
.line 8
invoke-virtual {p0, p1, v0, p2, v1}, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;->subSet(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableSet;
move-result-object p1
return-object p1
.end method
.method public final tailSet(Ljava/lang/Object;Z)Ljava/util/NavigableSet;
.locals 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
monitor-enter v0
.line 2
:try_start_0
invoke-super {p0}, Lcom/google/common/collect/Synchronized$SynchronizedSortedSet;->k()Ljava/util/SortedSet;
move-result-object v1
check-cast v1, Ljava/util/NavigableSet;
.line 3
invoke-interface {v1, p1, p2}, Ljava/util/NavigableSet;->tailSet(Ljava/lang/Object;Z)Ljava/util/NavigableSet;
move-result-object p1
iget-object p2, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->f:Ljava/lang/Object;
.line 4
new-instance v1, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;
.line 5
invoke-direct {v1, p1, p2}, Lcom/google/common/collect/Synchronized$SynchronizedObject;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
.line 6
monitor-exit v0
return-object v1
:catchall_0
move-exception p1
.line 7
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method
.method public final tailSet(Ljava/lang/Object;)Ljava/util/SortedSet;
.locals 1
const/4 v0, 0x1
.line 8
invoke-virtual {p0, p1, v0}, Lcom/google/common/collect/Synchronized$SynchronizedNavigableSet;->tailSet(Ljava/lang/Object;Z)Ljava/util/NavigableSet;
move-result-object p1
return-object p1
.end method