* 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>
275 lines
8 KiB
Java
275 lines
8 KiB
Java
package com.google.android.gms.ads.internal;
|
|
|
|
import android.os.Build;
|
|
import com.google.android.gms.ads.internal.overlay.zzae;
|
|
import com.google.android.gms.ads.internal.overlay.zzaf;
|
|
import com.google.android.gms.ads.internal.overlay.zzz;
|
|
import com.google.android.gms.ads.internal.util.zzaa;
|
|
import com.google.android.gms.ads.internal.util.zzax;
|
|
import com.google.android.gms.ads.internal.util.zzbq;
|
|
import com.google.android.gms.ads.internal.util.zzbr;
|
|
import com.google.android.gms.ads.internal.util.zzcg;
|
|
import com.google.android.gms.ads.internal.util.zzu;
|
|
import com.google.android.gms.ads.internal.util.zzv;
|
|
import com.google.android.gms.ads.internal.util.zzx;
|
|
import com.google.android.gms.ads.internal.util.zzy;
|
|
import com.google.android.gms.common.util.Clock;
|
|
import com.google.android.gms.common.util.DefaultClock;
|
|
import com.google.android.gms.internal.ads.zzbdf;
|
|
import com.google.android.gms.internal.ads.zzber;
|
|
import com.google.android.gms.internal.ads.zzbfg;
|
|
import com.google.android.gms.internal.ads.zzbgq;
|
|
import com.google.android.gms.internal.ads.zzbhj;
|
|
import com.google.android.gms.internal.ads.zzbrw;
|
|
import com.google.android.gms.internal.ads.zzbsu;
|
|
import com.google.android.gms.internal.ads.zzbzh;
|
|
import com.google.android.gms.internal.ads.zzcbw;
|
|
import com.google.android.gms.internal.ads.zzcda;
|
|
import com.google.android.gms.internal.ads.zzcdj;
|
|
import com.google.android.gms.internal.ads.zzcdu;
|
|
import com.google.android.gms.internal.ads.zzceb;
|
|
import com.google.android.gms.internal.ads.zzcgq;
|
|
import com.google.android.gms.internal.ads.zzcjh;
|
|
import com.google.android.gms.internal.ads.zzeiv;
|
|
import com.google.android.gms.internal.ads.zzeiw;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzt {
|
|
public static final zzt E = new zzt();
|
|
public final zzcbw A;
|
|
public final zzcg B;
|
|
public final zzcgq C;
|
|
public final zzceb D;
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final com.google.android.gms.ads.internal.overlay.zza f3181a;
|
|
public final com.google.android.gms.ads.internal.overlay.zzn b;
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final com.google.android.gms.ads.internal.util.zzs f3182c;
|
|
public final zzcjh d;
|
|
public final zzcdj e;
|
|
public final com.google.android.gms.ads.internal.util.zzt f;
|
|
public final zzbdf g;
|
|
public final zzcda h;
|
|
public final zzaa i;
|
|
public final zzber j;
|
|
public final Clock k;
|
|
public final zzf l;
|
|
public final zzbgq m;
|
|
public final zzbhj n;
|
|
public final zzax o;
|
|
public final zzbzh p;
|
|
public final zzcdu q;
|
|
public final zzbrw r;
|
|
public final zzz s;
|
|
public final zzbq t;
|
|
public final zzae u;
|
|
public final zzaf v;
|
|
public final zzbsu w;
|
|
public final zzbr x;
|
|
public final zzeiv y;
|
|
public final zzbfg z;
|
|
|
|
/* JADX WARN: Type inference failed for: r13v0, types: [java.lang.Object, com.google.android.gms.internal.ads.zzbgq] */
|
|
/* JADX WARN: Type inference failed for: r15v10, types: [com.google.android.gms.internal.ads.zzeiv, java.lang.Object] */
|
|
/* JADX WARN: Type inference failed for: r15v11, types: [com.google.android.gms.internal.ads.zzbfg, java.lang.Object] */
|
|
/* JADX WARN: Type inference failed for: r15v15, types: [com.google.android.gms.internal.ads.zzceb, java.lang.Object] */
|
|
/* JADX WARN: Type inference failed for: r15v2, types: [com.google.android.gms.internal.ads.zzcdu, java.lang.Object] */
|
|
/* JADX WARN: Type inference failed for: r15v8, types: [com.google.android.gms.internal.ads.zzbsu, java.lang.Object] */
|
|
/* JADX WARN: Type inference failed for: r4v0, types: [com.google.android.gms.internal.ads.zzcjh, java.lang.Object] */
|
|
public zzt() {
|
|
com.google.android.gms.ads.internal.util.zzt zztVar;
|
|
com.google.android.gms.ads.internal.overlay.zza zzaVar = new com.google.android.gms.ads.internal.overlay.zza();
|
|
com.google.android.gms.ads.internal.overlay.zzn zznVar = new com.google.android.gms.ads.internal.overlay.zzn();
|
|
com.google.android.gms.ads.internal.util.zzs zzsVar = new com.google.android.gms.ads.internal.util.zzs();
|
|
?? obj = new Object();
|
|
zzcdj zzcdjVar = new zzcdj();
|
|
int i = Build.VERSION.SDK_INT;
|
|
if (i >= 30) {
|
|
zztVar = new zzy();
|
|
} else if (i >= 28) {
|
|
zztVar = new zzx();
|
|
} else if (i >= 26) {
|
|
zztVar = new zzv();
|
|
} else if (i >= 24) {
|
|
zztVar = new zzu();
|
|
} else {
|
|
zztVar = new com.google.android.gms.ads.internal.util.zzt();
|
|
}
|
|
zzbdf zzbdfVar = new zzbdf();
|
|
zzcda zzcdaVar = new zzcda();
|
|
zzaa zzaaVar = new zzaa();
|
|
zzber zzberVar = new zzber();
|
|
Clock defaultClock = DefaultClock.getInstance();
|
|
zzf zzfVar = new zzf();
|
|
?? obj2 = new Object();
|
|
zzbhj zzbhjVar = new zzbhj();
|
|
zzax zzaxVar = new zzax();
|
|
zzbzh zzbzhVar = new zzbzh();
|
|
?? obj3 = new Object();
|
|
zzbrw zzbrwVar = new zzbrw();
|
|
zzz zzzVar = new zzz();
|
|
zzbq zzbqVar = new zzbq();
|
|
zzae zzaeVar = new zzae();
|
|
zzaf zzafVar = new zzaf();
|
|
?? obj4 = new Object();
|
|
zzbr zzbrVar = new zzbr();
|
|
?? obj5 = new Object();
|
|
?? obj6 = new Object();
|
|
zzcbw zzcbwVar = new zzcbw();
|
|
zzcg zzcgVar = new zzcg();
|
|
zzcgq zzcgqVar = new zzcgq();
|
|
?? obj7 = new Object();
|
|
this.f3181a = zzaVar;
|
|
this.b = zznVar;
|
|
this.f3182c = zzsVar;
|
|
this.d = obj;
|
|
this.e = zzcdjVar;
|
|
this.f = zztVar;
|
|
this.g = zzbdfVar;
|
|
this.h = zzcdaVar;
|
|
this.i = zzaaVar;
|
|
this.j = zzberVar;
|
|
this.k = defaultClock;
|
|
this.l = zzfVar;
|
|
this.m = obj2;
|
|
this.n = zzbhjVar;
|
|
this.o = zzaxVar;
|
|
this.p = zzbzhVar;
|
|
this.q = obj3;
|
|
this.r = zzbrwVar;
|
|
this.t = zzbqVar;
|
|
this.s = zzzVar;
|
|
this.u = zzaeVar;
|
|
this.v = zzafVar;
|
|
this.w = obj4;
|
|
this.x = zzbrVar;
|
|
this.y = obj5;
|
|
this.z = obj6;
|
|
this.A = zzcbwVar;
|
|
this.B = zzcgVar;
|
|
this.C = zzcgqVar;
|
|
this.D = obj7;
|
|
}
|
|
|
|
public static zzcg zzA() {
|
|
return E.B;
|
|
}
|
|
|
|
public static zzcgq zzB() {
|
|
return E.C;
|
|
}
|
|
|
|
public static zzceb zzC() {
|
|
return E.D;
|
|
}
|
|
|
|
public static zzcbw zzD() {
|
|
return E.A;
|
|
}
|
|
|
|
public static com.google.android.gms.ads.internal.overlay.zza zza() {
|
|
return E.f3181a;
|
|
}
|
|
|
|
public static com.google.android.gms.ads.internal.overlay.zzn zzb() {
|
|
return E.b;
|
|
}
|
|
|
|
public static com.google.android.gms.ads.internal.util.zzs zzc() {
|
|
return E.f3182c;
|
|
}
|
|
|
|
public static zzcjh zzd() {
|
|
return E.d;
|
|
}
|
|
|
|
public static zzcdj zze() {
|
|
return E.e;
|
|
}
|
|
|
|
public static com.google.android.gms.ads.internal.util.zzz zzf() {
|
|
return E.f;
|
|
}
|
|
|
|
public static zzbdf zzg() {
|
|
return E.g;
|
|
}
|
|
|
|
public static zzcda zzh() {
|
|
return E.h;
|
|
}
|
|
|
|
public static zzaa zzi() {
|
|
return E.i;
|
|
}
|
|
|
|
public static zzber zzj() {
|
|
return E.j;
|
|
}
|
|
|
|
public static Clock zzk() {
|
|
return E.k;
|
|
}
|
|
|
|
public static zzf zzl() {
|
|
return E.l;
|
|
}
|
|
|
|
public static zzbgq zzm() {
|
|
return E.m;
|
|
}
|
|
|
|
public static zzbhj zzn() {
|
|
return E.n;
|
|
}
|
|
|
|
public static zzax zzo() {
|
|
return E.o;
|
|
}
|
|
|
|
public static zzbzh zzp() {
|
|
return E.p;
|
|
}
|
|
|
|
public static zzcdu zzq() {
|
|
return E.q;
|
|
}
|
|
|
|
public static zzbrw zzr() {
|
|
return E.r;
|
|
}
|
|
|
|
public static zzbq zzs() {
|
|
return E.t;
|
|
}
|
|
|
|
public static zzz zzt() {
|
|
return E.s;
|
|
}
|
|
|
|
public static zzeiw zzu() {
|
|
return E.y;
|
|
}
|
|
|
|
public static zzae zzv() {
|
|
return E.u;
|
|
}
|
|
|
|
public static zzaf zzw() {
|
|
return E.v;
|
|
}
|
|
|
|
public static zzbsu zzx() {
|
|
return E.w;
|
|
}
|
|
|
|
public static zzbr zzy() {
|
|
return E.x;
|
|
}
|
|
|
|
public static zzbfg zzz() {
|
|
return E.z;
|
|
}
|
|
}
|