* 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>
102 lines
4.6 KiB
Java
102 lines
4.6 KiB
Java
package com.bumptech.glide.load.engine;
|
|
|
|
import androidx.core.util.Pools;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class LoadPath<Data, ResourceType, Transcode> {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final Pools.Pool f2227a;
|
|
public final List b;
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final String f2228c;
|
|
|
|
public LoadPath(Class cls, Class cls2, Class cls3, List list, Pools.Pool pool) {
|
|
this.f2227a = pool;
|
|
if (!list.isEmpty()) {
|
|
this.b = list;
|
|
this.f2228c = "Failed LoadPath{" + cls.getSimpleName() + "->" + cls2.getSimpleName() + "->" + cls3.getSimpleName() + "}";
|
|
return;
|
|
}
|
|
throw new IllegalArgumentException("Must not be empty.");
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:14:0x0050 A[LOOP:0: B:2:0x000c->B:14:0x0050, LOOP_END] */
|
|
/* JADX WARN: Removed duplicated region for block: B:15:0x0053 A[EDGE_INSN: B:15:0x0053->B:16:0x0053 BREAK A[LOOP:0: B:2:0x000c->B:14:0x0050], SYNTHETIC] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final com.bumptech.glide.load.engine.Resource a(com.bumptech.glide.load.data.DataRewinder r14, com.bumptech.glide.load.Options r15, int r16, int r17, com.bumptech.glide.load.engine.DecodeJob.DecodeCallback r18, java.util.List r19) {
|
|
/*
|
|
r13 = this;
|
|
r1 = r19
|
|
java.util.List r2 = r13.b
|
|
int r3 = r2.size()
|
|
r0 = 0
|
|
r4 = 0
|
|
r5 = r4
|
|
r4 = r0
|
|
Lc:
|
|
if (r5 >= r3) goto L53
|
|
java.lang.Object r0 = r2.get(r5)
|
|
r6 = r0
|
|
com.bumptech.glide.load.engine.DecodePath r6 = (com.bumptech.glide.load.engine.DecodePath) r6
|
|
androidx.core.util.Pools$Pool r12 = r6.d // Catch: com.bumptech.glide.load.engine.GlideException -> L47
|
|
java.lang.Object r0 = r12.b() // Catch: com.bumptech.glide.load.engine.GlideException -> L47
|
|
r11 = r0
|
|
java.util.List r11 = (java.util.List) r11 // Catch: com.bumptech.glide.load.engine.GlideException -> L47
|
|
java.lang.String r0 = "Argument must not be null"
|
|
com.bumptech.glide.util.Preconditions.c(r11, r0) // Catch: com.bumptech.glide.load.engine.GlideException -> L47
|
|
r7 = r14
|
|
r10 = r15
|
|
r8 = r16
|
|
r9 = r17
|
|
com.bumptech.glide.load.engine.Resource r0 = r6.a(r7, r8, r9, r10, r11) // Catch: java.lang.Throwable -> L3e
|
|
r12.a(r11) // Catch: com.bumptech.glide.load.engine.GlideException -> L47
|
|
r7 = r18
|
|
com.bumptech.glide.load.engine.Resource r0 = r7.a(r0) // Catch: com.bumptech.glide.load.engine.GlideException -> L45
|
|
com.bumptech.glide.load.resource.transcode.ResourceTranscoder r6 = r6.f2203c // Catch: com.bumptech.glide.load.engine.GlideException -> L45
|
|
com.bumptech.glide.load.engine.Resource r0 = r6.a(r0, r15) // Catch: com.bumptech.glide.load.engine.GlideException -> L45
|
|
r4 = r0
|
|
goto L4d
|
|
L3e:
|
|
r0 = move-exception
|
|
r7 = r18
|
|
r12.a(r11) // Catch: com.bumptech.glide.load.engine.GlideException -> L45
|
|
throw r0 // Catch: com.bumptech.glide.load.engine.GlideException -> L45
|
|
L45:
|
|
r0 = move-exception
|
|
goto L4a
|
|
L47:
|
|
r0 = move-exception
|
|
r7 = r18
|
|
L4a:
|
|
r1.add(r0)
|
|
L4d:
|
|
if (r4 == 0) goto L50
|
|
goto L53
|
|
L50:
|
|
int r5 = r5 + 1
|
|
goto Lc
|
|
L53:
|
|
if (r4 == 0) goto L56
|
|
return r4
|
|
L56:
|
|
com.bumptech.glide.load.engine.GlideException r14 = new com.bumptech.glide.load.engine.GlideException
|
|
java.util.ArrayList r15 = new java.util.ArrayList
|
|
r15.<init>(r1)
|
|
java.lang.String r0 = r13.f2228c
|
|
r14.<init>(r0, r15)
|
|
throw r14
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.bumptech.glide.load.engine.LoadPath.a(com.bumptech.glide.load.data.DataRewinder, com.bumptech.glide.load.Options, int, int, com.bumptech.glide.load.engine.DecodeJob$DecodeCallback, java.util.List):com.bumptech.glide.load.engine.Resource");
|
|
}
|
|
|
|
public final String toString() {
|
|
return "LoadPath{decodePaths=" + Arrays.toString(this.b.toArray()) + '}';
|
|
}
|
|
}
|