* 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>
144 lines
5.3 KiB
Java
144 lines
5.3 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.content.Context;
|
|
import com.google.android.gms.ads.internal.util.client.VersionInfoParcel;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class zzela implements zzdlh {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final Context f6624a;
|
|
public final VersionInfoParcel b;
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final zzcdt f6625c;
|
|
public final zzfhr d;
|
|
public final zzcir e;
|
|
public final zzfik f;
|
|
public final zzbnq g;
|
|
public final boolean h;
|
|
public final zzeif i;
|
|
public final zzdxe j;
|
|
|
|
public zzela(Context context, VersionInfoParcel versionInfoParcel, zzcdt zzcdtVar, zzfhr zzfhrVar, zzcir zzcirVar, zzfik zzfikVar, boolean z, zzbnq zzbnqVar, zzeif zzeifVar, zzdxe zzdxeVar) {
|
|
this.f6624a = context;
|
|
this.b = versionInfoParcel;
|
|
this.f6625c = zzcdtVar;
|
|
this.d = zzfhrVar;
|
|
this.e = zzcirVar;
|
|
this.f = zzfikVar;
|
|
this.g = zzbnqVar;
|
|
this.h = z;
|
|
this.i = zzeifVar;
|
|
this.j = zzdxeVar;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:13:0x003a */
|
|
/* JADX WARN: Removed duplicated region for block: B:17:0x0050 */
|
|
/* JADX WARN: Removed duplicated region for block: B:20:0x0072 */
|
|
/* JADX WARN: Removed duplicated region for block: B:25:0x0077 */
|
|
/* JADX WARN: Removed duplicated region for block: B:26:0x0040 */
|
|
@Override // com.google.android.gms.internal.ads.zzdlh
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void a(boolean r19, android.content.Context r20, com.google.android.gms.internal.ads.zzdax r21) {
|
|
/*
|
|
r18 = this;
|
|
r1 = r18
|
|
com.google.android.gms.internal.ads.zzbnq r2 = r1.g
|
|
com.google.android.gms.internal.ads.zzcdt r0 = r1.f6625c
|
|
java.lang.Object r0 = com.google.android.gms.internal.ads.zzgym.m(r0)
|
|
com.google.android.gms.internal.ads.zzdjt r0 = (com.google.android.gms.internal.ads.zzdjt) r0
|
|
com.google.android.gms.internal.ads.zzcir r7 = r1.e
|
|
r3 = 1
|
|
r7.n0(r3)
|
|
com.google.android.gms.ads.internal.zzl r8 = new com.google.android.gms.ads.internal.zzl
|
|
boolean r4 = r1.h
|
|
r5 = 0
|
|
if (r4 == 0) goto L1f
|
|
boolean r6 = r2.b(r5)
|
|
r9 = r6
|
|
goto L20
|
|
L1f:
|
|
r9 = r5
|
|
L20:
|
|
com.google.android.gms.ads.internal.zzt.zzc()
|
|
android.content.Context r6 = r1.f6624a
|
|
boolean r10 = com.google.android.gms.ads.internal.util.zzs.zzN(r6)
|
|
if (r4 == 0) goto L33
|
|
monitor-enter(r2)
|
|
boolean r6 = r2.b // Catch: java.lang.Throwable -> L35
|
|
monitor-exit(r2)
|
|
if (r6 == 0) goto L33
|
|
r11 = r3
|
|
goto L38
|
|
L33:
|
|
r11 = r5
|
|
goto L38
|
|
L35:
|
|
r0 = move-exception
|
|
monitor-exit(r2) // Catch: java.lang.Throwable -> L35
|
|
throw r0
|
|
L38:
|
|
if (r4 == 0) goto L40
|
|
float r2 = r2.c()
|
|
L3e:
|
|
r12 = r2
|
|
goto L42
|
|
L40:
|
|
r2 = 0
|
|
goto L3e
|
|
L42:
|
|
com.google.android.gms.internal.ads.zzfhr r2 = r1.d
|
|
boolean r15 = r2.O
|
|
r16 = 0
|
|
r13 = -1
|
|
r14 = r19
|
|
r8.<init>(r9, r10, r11, r12, r13, r14, r15, r16)
|
|
if (r21 == 0) goto L53
|
|
r21.t0()
|
|
L53:
|
|
com.google.android.gms.ads.internal.zzt.zzb()
|
|
r4 = r3
|
|
com.google.android.gms.ads.internal.overlay.AdOverlayInfoParcel r3 = new com.google.android.gms.ads.internal.overlay.AdOverlayInfoParcel
|
|
com.google.android.gms.internal.ads.zzdkw r5 = r0.h()
|
|
r11 = r8
|
|
int r8 = r2.Q
|
|
com.google.android.gms.ads.internal.util.client.VersionInfoParcel r9 = r1.b
|
|
java.lang.String r10 = r2.B
|
|
com.google.android.gms.internal.ads.zzfhw r0 = r2.s
|
|
java.lang.String r12 = r0.b
|
|
java.lang.String r13 = r0.f7374a
|
|
com.google.android.gms.internal.ads.zzfik r0 = r1.f
|
|
boolean r2 = r2.b()
|
|
if (r2 == 0) goto L77
|
|
com.google.android.gms.internal.ads.zzeif r2 = r1.i
|
|
L74:
|
|
r16 = r2
|
|
goto L79
|
|
L77:
|
|
r2 = 0
|
|
goto L74
|
|
L79:
|
|
java.lang.String r14 = r0.g
|
|
java.lang.String r17 = r7.zzn()
|
|
r0 = r4
|
|
r4 = 0
|
|
r6 = 0
|
|
r15 = r21
|
|
r3.<init>(r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17)
|
|
com.google.android.gms.internal.ads.zzdxe r2 = r1.j
|
|
r4 = r20
|
|
com.google.android.gms.ads.internal.overlay.zzn.zza(r4, r3, r0, r2)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzela.a(boolean, android.content.Context, com.google.android.gms.internal.ads.zzdax):void");
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzdlh
|
|
public final zzfhr zzb() {
|
|
return this.d;
|
|
}
|
|
}
|