* 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>
397 lines
11 KiB
Java
397 lines
11 KiB
Java
package com.google.common.collect;
|
|
|
|
import com.google.android.gms.ads.RequestConfiguration;
|
|
import com.google.common.annotations.GwtCompatible;
|
|
import java.io.Serializable;
|
|
import java.lang.Comparable;
|
|
|
|
@GwtCompatible
|
|
/* loaded from: classes3.dex */
|
|
abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable {
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final Comparable f12271c;
|
|
|
|
/* renamed from: com.google.common.collect.Cut$1, reason: invalid class name */
|
|
/* loaded from: classes3.dex */
|
|
public static /* synthetic */ class AnonymousClass1 {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public static final /* synthetic */ int[] f12272a;
|
|
|
|
static {
|
|
int[] iArr = new int[BoundType.values().length];
|
|
f12272a = iArr;
|
|
try {
|
|
iArr[1] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
f12272a[0] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class AboveAll extends Cut<Comparable<?>> {
|
|
public static final AboveAll f = new Cut(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED);
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
/* renamed from: b */
|
|
public final int compareTo(Cut cut) {
|
|
return cut == this ? 0 : 1;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final void c(StringBuilder sb) {
|
|
throw new AssertionError();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut, java.lang.Comparable
|
|
public final int compareTo(Object obj) {
|
|
if (((Cut) obj) == this) {
|
|
return 0;
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final void d(StringBuilder sb) {
|
|
sb.append("+∞)");
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable e() {
|
|
throw new IllegalStateException("range unbounded on this side");
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable f() {
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final boolean g(Comparable comparable) {
|
|
return false;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable h() {
|
|
throw new AssertionError();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final int hashCode() {
|
|
return System.identityHashCode(this);
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType i() {
|
|
throw new AssertionError("this statement should be unreachable");
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType j() {
|
|
throw new IllegalStateException();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut k() {
|
|
throw new AssertionError("this statement should be unreachable");
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut l() {
|
|
throw new IllegalStateException();
|
|
}
|
|
|
|
public final String toString() {
|
|
return "+∞";
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class BelowAll extends Cut<Comparable<?>> {
|
|
public static final BelowAll f = new Cut(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED);
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
/* renamed from: b */
|
|
public final int compareTo(Cut cut) {
|
|
return cut == this ? 0 : -1;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final void c(StringBuilder sb) {
|
|
sb.append("(-∞");
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut, java.lang.Comparable
|
|
public final int compareTo(Object obj) {
|
|
if (((Cut) obj) == this) {
|
|
return 0;
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final void d(StringBuilder sb) {
|
|
throw new AssertionError();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable e() {
|
|
throw new IllegalStateException("range unbounded on this side");
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable f() {
|
|
throw new AssertionError();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final boolean g(Comparable comparable) {
|
|
return true;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable h() {
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final int hashCode() {
|
|
return System.identityHashCode(this);
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType i() {
|
|
throw new IllegalStateException();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType j() {
|
|
throw new AssertionError("this statement should be unreachable");
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut k() {
|
|
throw new IllegalStateException();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut l() {
|
|
throw new AssertionError("this statement should be unreachable");
|
|
}
|
|
|
|
public final String toString() {
|
|
return "-∞";
|
|
}
|
|
}
|
|
|
|
public Cut(Comparable comparable) {
|
|
this.f12271c = comparable;
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v0, types: [com.google.common.collect.Cut, com.google.common.collect.Cut$BelowValue] */
|
|
public static BelowValue a(Comparable comparable) {
|
|
comparable.getClass();
|
|
return new Cut(comparable);
|
|
}
|
|
|
|
@Override // java.lang.Comparable
|
|
/* renamed from: b, reason: merged with bridge method [inline-methods] */
|
|
public int compareTo(Cut cut) {
|
|
if (cut == BelowAll.f) {
|
|
return 1;
|
|
}
|
|
if (cut == AboveAll.f) {
|
|
return -1;
|
|
}
|
|
Comparable comparable = cut.f12271c;
|
|
Range range = Range.g;
|
|
int compareTo = this.f12271c.compareTo(comparable);
|
|
if (compareTo != 0) {
|
|
return compareTo;
|
|
}
|
|
return Boolean.compare(this instanceof AboveValue, cut instanceof AboveValue);
|
|
}
|
|
|
|
public abstract void c(StringBuilder sb);
|
|
|
|
public abstract void d(StringBuilder sb);
|
|
|
|
public Comparable e() {
|
|
return this.f12271c;
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (obj instanceof Cut) {
|
|
try {
|
|
if (compareTo((Cut) obj) == 0) {
|
|
return true;
|
|
}
|
|
} catch (ClassCastException unused) {
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public abstract Comparable f();
|
|
|
|
public abstract boolean g(Comparable comparable);
|
|
|
|
public abstract Comparable h();
|
|
|
|
public abstract int hashCode();
|
|
|
|
public abstract BoundType i();
|
|
|
|
public abstract BoundType j();
|
|
|
|
public abstract Cut k();
|
|
|
|
public abstract Cut l();
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class AboveValue<C extends Comparable> extends Cut<C> {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public AboveValue(Comparable comparable) {
|
|
super(comparable);
|
|
comparable.getClass();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final void c(StringBuilder sb) {
|
|
sb.append('(');
|
|
sb.append(this.f12271c);
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut, java.lang.Comparable
|
|
public final /* bridge */ /* synthetic */ int compareTo(Object obj) {
|
|
return compareTo((Cut) obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final void d(StringBuilder sb) {
|
|
sb.append(this.f12271c);
|
|
sb.append(']');
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable f() {
|
|
return this.f12271c;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final boolean g(Comparable comparable) {
|
|
Range range = Range.g;
|
|
if (this.f12271c.compareTo(comparable) < 0) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable h() {
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final int hashCode() {
|
|
return ~this.f12271c.hashCode();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType i() {
|
|
return BoundType.f12251c;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType j() {
|
|
return BoundType.f;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut k() {
|
|
throw null;
|
|
}
|
|
|
|
public final String toString() {
|
|
return "/" + this.f12271c + "\\";
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut l() {
|
|
return this;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class BelowValue<C extends Comparable> extends Cut<C> {
|
|
@Override // com.google.common.collect.Cut
|
|
public final void c(StringBuilder sb) {
|
|
sb.append('[');
|
|
sb.append(this.f12271c);
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut, java.lang.Comparable
|
|
public final /* bridge */ /* synthetic */ int compareTo(Object obj) {
|
|
return compareTo((Cut) obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final void d(StringBuilder sb) {
|
|
sb.append(this.f12271c);
|
|
sb.append(')');
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable f() {
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final boolean g(Comparable comparable) {
|
|
Range range = Range.g;
|
|
if (this.f12271c.compareTo(comparable) <= 0) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Comparable h() {
|
|
return this.f12271c;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final int hashCode() {
|
|
return this.f12271c.hashCode();
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType i() {
|
|
return BoundType.f;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final BoundType j() {
|
|
return BoundType.f12251c;
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut l() {
|
|
throw null;
|
|
}
|
|
|
|
public final String toString() {
|
|
return "\\" + this.f12271c + "/";
|
|
}
|
|
|
|
@Override // com.google.common.collect.Cut
|
|
public final Cut k() {
|
|
return this;
|
|
}
|
|
}
|
|
}
|