* 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>
113 lines
4.1 KiB
Java
113 lines
4.1 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import androidx.annotation.VisibleForTesting;
|
|
import com.google.android.gms.ads.RequestConfiguration;
|
|
import java.io.IOException;
|
|
import java.util.ArrayList;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
|
|
@VisibleForTesting
|
|
/* loaded from: classes.dex */
|
|
final class zzasd {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public long f4384a;
|
|
public final String b;
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final String f4385c;
|
|
public final long d;
|
|
public final long e;
|
|
public final long f;
|
|
public final long g;
|
|
public final List h;
|
|
|
|
public zzasd(String str, String str2, long j, long j2, long j3, long j4, List list) {
|
|
this.b = str;
|
|
this.f4385c = true == RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED.equals(str2) ? null : str2;
|
|
this.d = j;
|
|
this.e = j2;
|
|
this.f = j3;
|
|
this.g = j4;
|
|
this.h = list;
|
|
}
|
|
|
|
public static zzasd a(zzase zzaseVar) {
|
|
List arrayList;
|
|
if (zzasg.e(zzaseVar) == 538247942) {
|
|
String k = zzasg.k(zzaseVar);
|
|
String k2 = zzasg.k(zzaseVar);
|
|
long g = zzasg.g(zzaseVar);
|
|
long g2 = zzasg.g(zzaseVar);
|
|
long g3 = zzasg.g(zzaseVar);
|
|
long g4 = zzasg.g(zzaseVar);
|
|
int e = zzasg.e(zzaseVar);
|
|
if (e >= 0) {
|
|
if (e == 0) {
|
|
arrayList = Collections.EMPTY_LIST;
|
|
} else {
|
|
arrayList = new ArrayList();
|
|
}
|
|
List list = arrayList;
|
|
for (int i = 0; i < e; i++) {
|
|
list.add(new zzarc(zzasg.k(zzaseVar).intern(), zzasg.k(zzaseVar).intern()));
|
|
}
|
|
return new zzasd(k, k2, g, g2, g3, g4, list);
|
|
}
|
|
throw new IOException(androidx.work.impl.workers.a.r(e, "readHeaderList size=", new StringBuilder(String.valueOf(e).length() + 20)));
|
|
}
|
|
throw new IOException();
|
|
}
|
|
|
|
/* JADX WARN: Illegal instructions before constructor call */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Type inference failed for: r0v0, types: [java.util.List] */
|
|
/* JADX WARN: Type inference failed for: r0v1, types: [java.util.ArrayList] */
|
|
/* JADX WARN: Type inference failed for: r0v2 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public zzasd(java.lang.String r14, com.google.android.gms.internal.ads.zzaqt r15) {
|
|
/*
|
|
r13 = this;
|
|
java.lang.String r2 = r15.b
|
|
long r3 = r15.f4354c
|
|
long r5 = r15.d
|
|
long r7 = r15.e
|
|
long r9 = r15.f
|
|
java.util.List r0 = r15.h
|
|
if (r0 == 0) goto L12
|
|
Le:
|
|
r1 = r14
|
|
r11 = r0
|
|
r0 = r13
|
|
goto L46
|
|
L12:
|
|
java.util.Map r15 = r15.g
|
|
java.util.ArrayList r0 = new java.util.ArrayList
|
|
int r1 = r15.size()
|
|
r0.<init>(r1)
|
|
java.util.Set r15 = r15.entrySet()
|
|
java.util.Iterator r15 = r15.iterator()
|
|
L25:
|
|
boolean r1 = r15.hasNext()
|
|
if (r1 == 0) goto Le
|
|
java.lang.Object r1 = r15.next()
|
|
java.util.Map$Entry r1 = (java.util.Map.Entry) r1
|
|
com.google.android.gms.internal.ads.zzarc r11 = new com.google.android.gms.internal.ads.zzarc
|
|
java.lang.Object r12 = r1.getKey()
|
|
java.lang.String r12 = (java.lang.String) r12
|
|
java.lang.Object r1 = r1.getValue()
|
|
java.lang.String r1 = (java.lang.String) r1
|
|
r11.<init>(r12, r1)
|
|
r0.add(r11)
|
|
goto L25
|
|
L46:
|
|
r0.<init>(r1, r2, r3, r5, r7, r9, r11)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzasd.<init>(java.lang.String, com.google.android.gms.internal.ads.zzaqt):void");
|
|
}
|
|
}
|