* 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>
126 lines
3.5 KiB
Java
126 lines
3.5 KiB
Java
package com.google.android.gms.internal.cast;
|
||
|
||
import kotlin.io.ConstantsKt;
|
||
import kotlin.uuid.Uuid;
|
||
|
||
/* loaded from: classes.dex */
|
||
public final class zzqg extends zzyd implements zzzj {
|
||
private static final zzqg zzs;
|
||
private int zzb;
|
||
private zzrp zzd;
|
||
private boolean zze;
|
||
private long zzf;
|
||
private int zzg;
|
||
private int zzh;
|
||
private int zzi;
|
||
private int zzj;
|
||
private int zzk;
|
||
private zzui zzl;
|
||
private int zzm;
|
||
private int zzn;
|
||
private boolean zzo;
|
||
private int zzp;
|
||
private int zzq;
|
||
private boolean zzr;
|
||
|
||
/* JADX WARN: Type inference failed for: r0v0, types: [com.google.android.gms.internal.cast.zzyd, com.google.android.gms.internal.cast.zzqg] */
|
||
static {
|
||
?? zzydVar = new zzyd();
|
||
zzs = zzydVar;
|
||
zzyd.h(zzqg.class, zzydVar);
|
||
}
|
||
|
||
public static zzqf n() {
|
||
return (zzqf) zzs.d();
|
||
}
|
||
|
||
public static zzqf o(zzqg zzqgVar) {
|
||
zzya d = zzs.d();
|
||
zzyd zzydVar = d.f9881c;
|
||
if (!zzydVar.equals(zzqgVar)) {
|
||
if (!d.f.l()) {
|
||
zzyd zzydVar2 = (zzyd) zzydVar.j(4, null);
|
||
zzzp.f9899c.a(zzydVar2.getClass()).c(zzydVar2, d.f);
|
||
d.f = zzydVar2;
|
||
}
|
||
zzyd zzydVar3 = d.f;
|
||
zzzp.f9899c.a(zzydVar3.getClass()).c(zzydVar3, zzqgVar);
|
||
}
|
||
return (zzqf) d;
|
||
}
|
||
|
||
public static zzqg p() {
|
||
return zzs;
|
||
}
|
||
|
||
@Override // com.google.android.gms.internal.cast.zzyd
|
||
public final Object j(int i, zzyd zzydVar) {
|
||
int i2 = i - 1;
|
||
if (i2 != 0) {
|
||
if (i2 != 2) {
|
||
if (i2 != 3) {
|
||
if (i2 != 4) {
|
||
if (i2 == 5) {
|
||
return zzs;
|
||
}
|
||
throw null;
|
||
}
|
||
return new zzya(zzs);
|
||
}
|
||
return new zzyd();
|
||
}
|
||
return new zzzr(zzs, "\u0001\u000f\u0000\u0001\u0001\u000f\u000f\u0000\u0000\u0000\u0001ဉ\u0000\u0002ဇ\u0001\u0003စ\u0002\u0004ဆ\u0003\u0005᠌\u0004\u0006᠌\u0005\u0007င\u0006\bင\u0007\tဉ\b\n᠌\t\u000bင\n\fဇ\u000b\rင\f\u000eင\r\u000fဇ\u000e", new Object[]{"zzb", "zzd", "zze", "zzf", "zzg", "zzh", zzlh.f9762a, "zzi", zzlf.f9761a, "zzj", "zzk", "zzl", "zzm", zzmj.f9777a, "zzn", "zzo", "zzp", "zzq", "zzr"});
|
||
}
|
||
return (byte) 1;
|
||
}
|
||
|
||
public final /* synthetic */ void q(zzrp zzrpVar) {
|
||
this.zzd = zzrpVar;
|
||
this.zzb |= 1;
|
||
}
|
||
|
||
public final /* synthetic */ void r(boolean z) {
|
||
this.zzb |= 2;
|
||
this.zze = z;
|
||
}
|
||
|
||
public final /* synthetic */ void s(long j) {
|
||
this.zzb |= 4;
|
||
this.zzf = j;
|
||
}
|
||
|
||
public final /* synthetic */ void t(int i) {
|
||
this.zzb |= 64;
|
||
this.zzj = i;
|
||
}
|
||
|
||
public final /* synthetic */ void u(int i) {
|
||
this.zzb |= Uuid.SIZE_BITS;
|
||
this.zzk = i;
|
||
}
|
||
|
||
public final /* synthetic */ void v(int i) {
|
||
this.zzb |= 1024;
|
||
this.zzn = i;
|
||
}
|
||
|
||
public final /* synthetic */ void w(boolean z) {
|
||
this.zzb |= 2048;
|
||
this.zzo = z;
|
||
}
|
||
|
||
public final /* synthetic */ void x(int i) {
|
||
this.zzb |= ConstantsKt.DEFAULT_BLOCK_SIZE;
|
||
this.zzp = i;
|
||
}
|
||
|
||
public final /* synthetic */ void y(int i) {
|
||
this.zzb |= 8192;
|
||
this.zzq = i;
|
||
}
|
||
|
||
public final /* synthetic */ void z(boolean z) {
|
||
this.zzb |= 16384;
|
||
this.zzr = z;
|
||
}
|
||
}
|