* 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>
128 lines
5.1 KiB
Java
128 lines
5.1 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.view.GestureDetector;
|
|
import android.view.MotionEvent;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzdop implements GestureDetector.OnGestureListener {
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final zzdnh f5969c;
|
|
public final zzdoh f;
|
|
|
|
public zzdop(zzdnh zzdnhVar, zzdoh zzdohVar) {
|
|
this.f5969c = zzdnhVar;
|
|
this.f = zzdohVar;
|
|
}
|
|
|
|
@Override // android.view.GestureDetector.OnGestureListener
|
|
public final boolean onDown(MotionEvent motionEvent) {
|
|
return false;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:16:0x006a A[Catch: all -> 0x002a, TRY_LEAVE, TryCatch #0 {all -> 0x002a, blocks: (B:3:0x0001, B:9:0x0008, B:13:0x001c, B:14:0x0064, B:16:0x006a, B:22:0x0030, B:26:0x0044, B:29:0x0057), top: B:2:0x0001 }] */
|
|
@Override // android.view.GestureDetector.OnGestureListener
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final synchronized boolean onFling(android.view.MotionEvent r7, android.view.MotionEvent r8, float r9, float r10) {
|
|
/*
|
|
r6 = this;
|
|
monitor-enter(r6)
|
|
com.google.android.gms.internal.ads.zzdnh r0 = r6.f5969c // Catch: java.lang.Throwable -> L2a
|
|
r1 = 0
|
|
if (r0 != 0) goto L8
|
|
goto L73
|
|
L8:
|
|
float r2 = java.lang.Math.abs(r9) // Catch: java.lang.Throwable -> L2a
|
|
float r3 = java.lang.Math.abs(r10) // Catch: java.lang.Throwable -> L2a
|
|
int r2 = (r2 > r3 ? 1 : (r2 == r3 ? 0 : -1))
|
|
r3 = -1
|
|
r4 = 1148846080(0x447a0000, float:1000.0)
|
|
r5 = 0
|
|
if (r2 <= 0) goto L40
|
|
int r10 = (r9 > r5 ? 1 : (r9 == r5 ? 0 : -1))
|
|
if (r10 <= 0) goto L2c
|
|
float r8 = r8.getX() // Catch: java.lang.Throwable -> L2a
|
|
float r7 = r7.getX() // Catch: java.lang.Throwable -> L2a
|
|
float r8 = r8 - r7
|
|
float r8 = r8 / r9
|
|
float r8 = r8 * r4
|
|
int r7 = (int) r8 // Catch: java.lang.Throwable -> L2a
|
|
r3 = 1
|
|
goto L64
|
|
L2a:
|
|
r7 = move-exception
|
|
goto L75
|
|
L2c:
|
|
int r10 = (r9 > r5 ? 1 : (r9 == r5 ? 0 : -1))
|
|
if (r10 >= 0) goto L3e
|
|
float r8 = r8.getX() // Catch: java.lang.Throwable -> L2a
|
|
float r7 = r7.getX() // Catch: java.lang.Throwable -> L2a
|
|
float r8 = r8 - r7
|
|
float r8 = r8 / r9
|
|
float r8 = r8 * r4
|
|
int r7 = (int) r8 // Catch: java.lang.Throwable -> L2a
|
|
r3 = 2
|
|
goto L64
|
|
L3e:
|
|
r7 = r1
|
|
goto L64
|
|
L40:
|
|
int r9 = (r10 > r5 ? 1 : (r10 == r5 ? 0 : -1))
|
|
if (r9 <= 0) goto L53
|
|
float r8 = r8.getY() // Catch: java.lang.Throwable -> L2a
|
|
float r7 = r7.getY() // Catch: java.lang.Throwable -> L2a
|
|
float r8 = r8 - r7
|
|
float r8 = r8 / r10
|
|
float r8 = r8 * r4
|
|
int r7 = (int) r8 // Catch: java.lang.Throwable -> L2a
|
|
r3 = 8
|
|
goto L64
|
|
L53:
|
|
int r9 = (r10 > r5 ? 1 : (r10 == r5 ? 0 : -1))
|
|
if (r9 >= 0) goto L3e
|
|
float r8 = r8.getY() // Catch: java.lang.Throwable -> L2a
|
|
float r7 = r7.getY() // Catch: java.lang.Throwable -> L2a
|
|
float r8 = r8 - r7
|
|
float r8 = r8 / r10
|
|
float r8 = r8 * r4
|
|
int r7 = (int) r8 // Catch: java.lang.Throwable -> L2a
|
|
r3 = 4
|
|
L64:
|
|
int r8 = r0.d() // Catch: java.lang.Throwable -> L2a
|
|
if (r3 != r8) goto L73
|
|
com.google.android.gms.internal.ads.zzdoh r8 = r6.f // Catch: java.lang.Throwable -> L2a
|
|
android.widget.FrameLayout r8 = r8.g // Catch: java.lang.Throwable -> L2a
|
|
r0.c(r8, r7) // Catch: java.lang.Throwable -> L2a
|
|
monitor-exit(r6)
|
|
return r1
|
|
L73:
|
|
monitor-exit(r6)
|
|
return r1
|
|
L75:
|
|
monitor-exit(r6) // Catch: java.lang.Throwable -> L2a
|
|
throw r7
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzdop.onFling(android.view.MotionEvent, android.view.MotionEvent, float, float):boolean");
|
|
}
|
|
|
|
@Override // android.view.GestureDetector.OnGestureListener
|
|
public final void onLongPress(MotionEvent motionEvent) {
|
|
}
|
|
|
|
@Override // android.view.GestureDetector.OnGestureListener
|
|
public final boolean onScroll(MotionEvent motionEvent, MotionEvent motionEvent2, float f, float f2) {
|
|
return false;
|
|
}
|
|
|
|
@Override // android.view.GestureDetector.OnGestureListener
|
|
public final void onShowPress(MotionEvent motionEvent) {
|
|
}
|
|
|
|
@Override // android.view.GestureDetector.OnGestureListener
|
|
public final synchronized boolean onSingleTapUp(MotionEvent motionEvent) {
|
|
return false;
|
|
}
|
|
}
|