soul-browser/sources/java/com/google/android/gms/internal/ads/zzcir.java
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* 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>
2026-08-10 16:07:14 +02:00

198 lines
4 KiB
Java

package com.google.android.gms.internal.ads;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.google.android.gms.ads.internal.util.client.VersionInfoParcel;
import com.google.android.gms.common.util.Predicate;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.ArrayList;
import javax.annotation.ParametersAreNonnullByDefault;
@ParametersAreNonnullByDefault
/* loaded from: classes.dex */
public interface zzcir extends com.google.android.gms.ads.internal.client.zza, zzdir, zzcii, zzbqj, zzcjy, zzckd, zzbqv, zzbck, zzckh, com.google.android.gms.ads.internal.zzn, zzckk, zzckl, zzcfk, zzckm {
void A(boolean z);
void C(com.google.android.gms.ads.internal.overlay.zzm zzmVar);
zzcjc D();
void E();
void F(String str, String str2);
void G(Context context);
com.google.android.gms.ads.internal.overlay.zzm H();
void I(com.google.android.gms.ads.internal.overlay.zzm zzmVar);
zzeiz L();
void M(boolean z);
void O(zzejb zzejbVar);
void R();
void T(zzfhr zzfhrVar, zzfhu zzfhuVar);
void V(int i);
boolean W();
void X(zzbdx zzbdxVar);
zzfio Y();
void a0(zzclb zzclbVar);
boolean b0(int i, boolean z);
@Override // com.google.android.gms.internal.ads.zzckk
zzayq c();
void c0(boolean z);
boolean canGoBack();
@Override // com.google.android.gms.internal.ads.zzcjy
zzfhu d();
void destroy();
boolean e();
boolean e0();
zzbjl f0();
void g0(zzeiz zzeizVar);
@Override // com.google.android.gms.internal.ads.zzckd, com.google.android.gms.internal.ads.zzcfk
Context getContext();
int getHeight();
ViewGroup.LayoutParams getLayoutParams();
void getLocationOnScreen(int[] iArr);
int getMeasuredHeight();
int getMeasuredWidth();
ViewParent getParent();
int getWidth();
void goBack();
void h();
void h0(String str, Predicate predicate);
boolean isAttachedToWindow();
void j(int i);
void j0();
String k();
void k0();
void l(String str, zzbnn zzbnnVar);
void l0(boolean z);
void loadData(String str, String str2, String str3);
void loadDataWithBaseURL(String str, String str2, String str3, String str4, String str5);
void loadUrl(String str);
Context m();
void measure(int i, int i2);
void n0(boolean z);
void o0(String str, zzbnn zzbnnVar);
void onPause();
void onResume();
void p();
boolean p0();
void q0(boolean z);
void r();
boolean r0();
zzbdx s();
@Override // com.google.android.gms.internal.ads.zzcfk
void setBackgroundColor(int i);
void setOnClickListener(View.OnClickListener onClickListener);
void setOnTouchListener(View.OnTouchListener onTouchListener);
void setWebChromeClient(WebChromeClient webChromeClient);
void setWebViewClient(WebViewClient webViewClient);
void t(zzbjl zzbjlVar);
boolean u();
ListenableFuture w();
void x();
void y();
void z(zzdrr zzdrrVar);
@Override // com.google.android.gms.internal.ads.zzcii
zzfhr zzC();
WebView zzD();
@Override // com.google.android.gms.internal.ads.zzckm
View zzE();
ArrayList zzF();
com.google.android.gms.ads.internal.overlay.zzm zzL();
@Override // com.google.android.gms.internal.ads.zzckj
zzclb zzN();
zzejb zzU();
@Override // com.google.android.gms.internal.ads.zzcfk
zzcjx zzh();
@Override // com.google.android.gms.internal.ads.zzcfk
Activity zzj();
@Override // com.google.android.gms.internal.ads.zzcfk
com.google.android.gms.ads.internal.zza zzk();
zzbgx zzq();
@Override // com.google.android.gms.internal.ads.zzckl, com.google.android.gms.internal.ads.zzcfk
VersionInfoParcel zzs();
}