* 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>
147 lines
5.8 KiB
Java
147 lines
5.8 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.graphics.drawable.Drawable;
|
|
import android.net.Uri;
|
|
import com.google.android.gms.ads.formats.NativeAd;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzbjz extends NativeAd.Image {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final zzbjy f4746a;
|
|
public final Drawable b;
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final Uri f4747c;
|
|
public final double d;
|
|
public final int e;
|
|
public final int f;
|
|
|
|
/* JADX WARN: Can't wrap try/catch for region: R(18:1|(2:2|3)|(15:5|6|7|8|9|10|11|12|13|14|15|16|17|18|19)|34|6|7|8|9|10|11|12|13|14|15|16|17|18|19) */
|
|
/* JADX WARN: Can't wrap try/catch for region: R(19:1|2|3|(15:5|6|7|8|9|10|11|12|13|14|15|16|17|18|19)|34|6|7|8|9|10|11|12|13|14|15|16|17|18|19) */
|
|
/* JADX WARN: Code restructure failed: missing block: B:22:0x0051, code lost:
|
|
|
|
r1 = move-exception;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:23:0x0052, code lost:
|
|
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(com.google.android.gms.ads.RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r1);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:25:0x0043, code lost:
|
|
|
|
r1 = move-exception;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:26:0x0044, code lost:
|
|
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(com.google.android.gms.ads.RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r1);
|
|
r1 = -1;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:28:0x0033, code lost:
|
|
|
|
r4 = move-exception;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:29:0x0034, code lost:
|
|
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(com.google.android.gms.ads.RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r4);
|
|
r1 = 1.0d;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:31:0x0026, code lost:
|
|
|
|
r4 = move-exception;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:32:0x0027, code lost:
|
|
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(com.google.android.gms.ads.RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, r4);
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public zzbjz(com.google.android.gms.internal.ads.zzbjy r4) {
|
|
/*
|
|
r3 = this;
|
|
java.lang.String r0 = ""
|
|
r3.<init>()
|
|
r3.f4746a = r4
|
|
r1 = 0
|
|
com.google.android.gms.dynamic.IObjectWrapper r4 = r4.zzb() // Catch: android.os.RemoteException -> L15
|
|
if (r4 == 0) goto L17
|
|
java.lang.Object r4 = com.google.android.gms.dynamic.ObjectWrapper.f2(r4) // Catch: android.os.RemoteException -> L15
|
|
android.graphics.drawable.Drawable r4 = (android.graphics.drawable.Drawable) r4 // Catch: android.os.RemoteException -> L15
|
|
goto L1d
|
|
L15:
|
|
r4 = move-exception
|
|
goto L19
|
|
L17:
|
|
r4 = r1
|
|
goto L1d
|
|
L19:
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(r0, r4)
|
|
goto L17
|
|
L1d:
|
|
r3.b = r4
|
|
com.google.android.gms.internal.ads.zzbjy r4 = r3.f4746a // Catch: android.os.RemoteException -> L26
|
|
android.net.Uri r1 = r4.zzc() // Catch: android.os.RemoteException -> L26
|
|
goto L2a
|
|
L26:
|
|
r4 = move-exception
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(r0, r4)
|
|
L2a:
|
|
r3.f4747c = r1
|
|
com.google.android.gms.internal.ads.zzbjy r4 = r3.f4746a // Catch: android.os.RemoteException -> L33
|
|
double r1 = r4.zzd() // Catch: android.os.RemoteException -> L33
|
|
goto L39
|
|
L33:
|
|
r4 = move-exception
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(r0, r4)
|
|
r1 = 4607182418800017408(0x3ff0000000000000, double:1.0)
|
|
L39:
|
|
r3.d = r1
|
|
r4 = -1
|
|
com.google.android.gms.internal.ads.zzbjy r1 = r3.f4746a // Catch: android.os.RemoteException -> L43
|
|
int r1 = r1.zze() // Catch: android.os.RemoteException -> L43
|
|
goto L48
|
|
L43:
|
|
r1 = move-exception
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(r0, r1)
|
|
r1 = r4
|
|
L48:
|
|
r3.e = r1
|
|
com.google.android.gms.internal.ads.zzbjy r1 = r3.f4746a // Catch: android.os.RemoteException -> L51
|
|
int r4 = r1.zzf() // Catch: android.os.RemoteException -> L51
|
|
goto L55
|
|
L51:
|
|
r1 = move-exception
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg(r0, r1)
|
|
L55:
|
|
r3.f = r4
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzbjz.<init>(com.google.android.gms.internal.ads.zzbjy):void");
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.formats.NativeAd.Image
|
|
public final Drawable getDrawable() {
|
|
return this.b;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.formats.NativeAd.Image
|
|
public final double getScale() {
|
|
return this.d;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.formats.NativeAd.Image
|
|
public final Uri getUri() {
|
|
return this.f4747c;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.formats.NativeAd.Image
|
|
public final int zza() {
|
|
return this.e;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.formats.NativeAd.Image
|
|
public final int zzb() {
|
|
return this.f;
|
|
}
|
|
}
|