* 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>
234 lines
7 KiB
Java
234 lines
7 KiB
Java
package com.google.android.gms.internal.cast;
|
|
|
|
import j$.util.Map;
|
|
import java.io.Serializable;
|
|
import java.util.Collection;
|
|
import java.util.Map;
|
|
import java.util.Set;
|
|
import java.util.function.BiConsumer;
|
|
import java.util.function.BiFunction;
|
|
import java.util.function.Function;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class zzhy implements Map, Serializable, j$.util.Map {
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public transient zzhz f9726c;
|
|
public transient zzhz f;
|
|
public transient zzhr g;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:38:0x0233 */
|
|
/* JADX WARN: Type inference failed for: r16v11 */
|
|
/* JADX WARN: Type inference failed for: r16v12 */
|
|
/* JADX WARN: Type inference failed for: r16v13 */
|
|
/* JADX WARN: Type inference failed for: r16v4 */
|
|
/* JADX WARN: Type inference failed for: r2v0, types: [com.google.android.gms.internal.cast.zzhx, java.lang.Object] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static void a(java.util.Set r18) {
|
|
/*
|
|
Method dump skipped, instructions count: 600
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.cast.zzhy.a(java.util.Set):void");
|
|
}
|
|
|
|
public abstract zzhz b();
|
|
|
|
public abstract zzhz c();
|
|
|
|
@Override // java.util.Map
|
|
public final void clear() {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ Object compute(Object obj, BiFunction biFunction) {
|
|
return Map.CC.$default$compute(this, obj, biFunction);
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ Object computeIfAbsent(Object obj, Function function) {
|
|
return Map.CC.$default$computeIfAbsent(this, obj, function);
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ Object computeIfPresent(Object obj, BiFunction biFunction) {
|
|
return Map.CC.$default$computeIfPresent(this, obj, biFunction);
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final boolean containsKey(Object obj) {
|
|
if (get(obj) != null) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final boolean containsValue(Object obj) {
|
|
zzhr zzhrVar = this.g;
|
|
if (zzhrVar == null) {
|
|
zzhrVar = d();
|
|
this.g = zzhrVar;
|
|
}
|
|
return zzhrVar.contains(obj);
|
|
}
|
|
|
|
public abstract zzhr d();
|
|
|
|
@Override // java.util.Map
|
|
public final Set entrySet() {
|
|
zzhz zzhzVar = this.f9726c;
|
|
if (zzhzVar == null) {
|
|
zzhz b = b();
|
|
this.f9726c = b;
|
|
return b;
|
|
}
|
|
return zzhzVar;
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof java.util.Map)) {
|
|
return false;
|
|
}
|
|
return entrySet().equals(((java.util.Map) obj).entrySet());
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ void forEach(BiConsumer biConsumer) {
|
|
Map.CC.$default$forEach(this, biConsumer);
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public abstract Object get(Object obj);
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public final Object getOrDefault(Object obj, Object obj2) {
|
|
Object obj3 = get(obj);
|
|
if (obj3 != null) {
|
|
return obj3;
|
|
}
|
|
return obj2;
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final int hashCode() {
|
|
int i;
|
|
zzhz zzhzVar = this.f9726c;
|
|
if (zzhzVar == null) {
|
|
zzhzVar = b();
|
|
this.f9726c = zzhzVar;
|
|
}
|
|
int i2 = 0;
|
|
for (Object obj : zzhzVar) {
|
|
if (obj != null) {
|
|
i = obj.hashCode();
|
|
} else {
|
|
i = 0;
|
|
}
|
|
i2 += i;
|
|
}
|
|
return i2;
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final boolean isEmpty() {
|
|
return size() == 0;
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final /* bridge */ /* synthetic */ Set keySet() {
|
|
zzhz zzhzVar = this.f;
|
|
if (zzhzVar == null) {
|
|
zzhz c2 = c();
|
|
this.f = c2;
|
|
return c2;
|
|
}
|
|
return zzhzVar;
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ Object merge(Object obj, Object obj2, BiFunction biFunction) {
|
|
return Map.CC.$default$merge(this, obj, obj2, biFunction);
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final Object put(Object obj, Object obj2) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final void putAll(java.util.Map map) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ Object putIfAbsent(Object obj, Object obj2) {
|
|
return Map.CC.$default$putIfAbsent(this, obj, obj2);
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ boolean remove(Object obj, Object obj2) {
|
|
return Map.CC.$default$remove(this, obj, obj2);
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ Object replace(Object obj, Object obj2) {
|
|
return Map.CC.$default$replace(this, obj, obj2);
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ void replaceAll(BiFunction biFunction) {
|
|
Map.CC.$default$replaceAll(this, biFunction);
|
|
}
|
|
|
|
public final String toString() {
|
|
int size = size();
|
|
if (size >= 0) {
|
|
StringBuilder sb = new StringBuilder((int) Math.min(size * 8, 1073741824L));
|
|
sb.append('{');
|
|
boolean z = true;
|
|
for (Map.Entry entry : entrySet()) {
|
|
if (!z) {
|
|
sb.append(", ");
|
|
}
|
|
sb.append(entry.getKey());
|
|
sb.append('=');
|
|
sb.append(entry.getValue());
|
|
z = false;
|
|
}
|
|
sb.append('}');
|
|
return sb.toString();
|
|
}
|
|
throw new IllegalArgumentException(androidx.work.impl.workers.a.r(size, "size cannot be negative but was: ", new StringBuilder(String.valueOf(size).length() + 33)));
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final Collection values() {
|
|
zzhr zzhrVar = this.g;
|
|
if (zzhrVar == null) {
|
|
zzhr d = d();
|
|
this.g = d;
|
|
return d;
|
|
}
|
|
return zzhrVar;
|
|
}
|
|
|
|
@Override // java.util.Map
|
|
public final Object remove(Object obj) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
@Override // java.util.Map, j$.util.Map
|
|
public /* synthetic */ boolean replace(Object obj, Object obj2, Object obj3) {
|
|
return Map.CC.$default$replace(this, obj, obj2, obj3);
|
|
}
|
|
}
|