* 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>
150 lines
4.4 KiB
Java
150 lines
4.4 KiB
Java
package com.google.android.gms.internal.cast;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes.dex */
|
|
public final class zzih extends zzhy {
|
|
public static final zzhy k = new zzih(null, new Object[0], 0);
|
|
public final transient Object h;
|
|
public final transient Object[] i;
|
|
public final transient int j;
|
|
|
|
public zzih(Object obj, Object[] objArr, int i) {
|
|
this.h = obj;
|
|
this.i = objArr;
|
|
this.j = i;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.cast.zzhy
|
|
public final zzhz b() {
|
|
return new zzie(this, this.i, this.j);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.cast.zzhy
|
|
public final zzhz c() {
|
|
return new zzif(this, new zzig(this.i, 0, this.j));
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.cast.zzhy
|
|
public final zzhr d() {
|
|
return new zzig(this.i, 1, this.j);
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:5:0x009e A[RETURN] */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x009f A[RETURN] */
|
|
@Override // com.google.android.gms.internal.cast.zzhy, java.util.Map
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object get(java.lang.Object r10) {
|
|
/*
|
|
r9 = this;
|
|
r0 = 0
|
|
if (r10 != 0) goto L6
|
|
L3:
|
|
r10 = r0
|
|
goto L9c
|
|
L6:
|
|
r1 = 1
|
|
int r2 = r9.j
|
|
java.lang.Object[] r3 = r9.i
|
|
if (r2 != r1) goto L20
|
|
r2 = 0
|
|
r2 = r3[r2]
|
|
j$.util.Objects.requireNonNull(r2)
|
|
boolean r10 = r2.equals(r10)
|
|
if (r10 == 0) goto L3
|
|
r10 = r3[r1]
|
|
j$.util.Objects.requireNonNull(r10)
|
|
goto L9c
|
|
L20:
|
|
java.lang.Object r2 = r9.h
|
|
if (r2 != 0) goto L25
|
|
goto L3
|
|
L25:
|
|
boolean r4 = r2 instanceof byte[]
|
|
r5 = -1
|
|
if (r4 == 0) goto L51
|
|
r4 = r2
|
|
byte[] r4 = (byte[]) r4
|
|
int r2 = r4.length
|
|
int r6 = r2 + (-1)
|
|
int r2 = r10.hashCode()
|
|
int r2 = com.google.android.gms.internal.cast.zzho.a(r2)
|
|
L38:
|
|
r2 = r2 & r6
|
|
r5 = r4[r2]
|
|
r7 = 255(0xff, float:3.57E-43)
|
|
r5 = r5 & r7
|
|
if (r5 != r7) goto L41
|
|
goto L3
|
|
L41:
|
|
r7 = r3[r5]
|
|
boolean r7 = r10.equals(r7)
|
|
if (r7 == 0) goto L4e
|
|
r10 = r5 ^ 1
|
|
r10 = r3[r10]
|
|
goto L9c
|
|
L4e:
|
|
int r2 = r2 + 1
|
|
goto L38
|
|
L51:
|
|
boolean r4 = r2 instanceof short[]
|
|
if (r4 == 0) goto L7d
|
|
r4 = r2
|
|
short[] r4 = (short[]) r4
|
|
int r2 = r4.length
|
|
int r6 = r2 + (-1)
|
|
int r2 = r10.hashCode()
|
|
int r2 = com.google.android.gms.internal.cast.zzho.a(r2)
|
|
L63:
|
|
r2 = r2 & r6
|
|
short r5 = r4[r2]
|
|
char r5 = (char) r5
|
|
r7 = 65535(0xffff, float:9.1834E-41)
|
|
if (r5 != r7) goto L6d
|
|
goto L3
|
|
L6d:
|
|
r7 = r3[r5]
|
|
boolean r7 = r10.equals(r7)
|
|
if (r7 == 0) goto L7a
|
|
r10 = r5 ^ 1
|
|
r10 = r3[r10]
|
|
goto L9c
|
|
L7a:
|
|
int r2 = r2 + 1
|
|
goto L63
|
|
L7d:
|
|
int[] r2 = (int[]) r2
|
|
int r4 = r2.length
|
|
int r4 = r4 + r5
|
|
int r6 = r10.hashCode()
|
|
int r6 = com.google.android.gms.internal.cast.zzho.a(r6)
|
|
L89:
|
|
r6 = r6 & r4
|
|
r7 = r2[r6]
|
|
if (r7 != r5) goto L90
|
|
goto L3
|
|
L90:
|
|
r8 = r3[r7]
|
|
boolean r8 = r10.equals(r8)
|
|
if (r8 == 0) goto La0
|
|
r10 = r7 ^ 1
|
|
r10 = r3[r10]
|
|
L9c:
|
|
if (r10 != 0) goto L9f
|
|
return r0
|
|
L9f:
|
|
return r10
|
|
La0:
|
|
int r6 = r6 + 1
|
|
goto L89
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.cast.zzih.get(java.lang.Object):java.lang.Object");
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final int size() {
|
|
return this.j;
|
|
}
|
|
}
|