* 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>
166 lines
5.5 KiB
Java
166 lines
5.5 KiB
Java
package j$.time;
|
|
|
|
import j$.util.Objects;
|
|
import java.io.InvalidObjectException;
|
|
import java.io.ObjectInputStream;
|
|
import java.io.Serializable;
|
|
import kotlin.jvm.internal.LongCompanionObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class q implements j$.time.temporal.m, j$.time.temporal.o, Comparable, Serializable {
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public static final /* synthetic */ int f21238c = 0;
|
|
private static final long serialVersionUID = 7264499704384272492L;
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final k f21239a;
|
|
public final ZoneOffset b;
|
|
|
|
@Override // java.lang.Comparable
|
|
public final int compareTo(Object obj) {
|
|
q qVar = (q) obj;
|
|
if (this.b.equals(qVar.b)) {
|
|
return this.f21239a.compareTo(qVar.f21239a);
|
|
}
|
|
int compare = Long.compare(this.f21239a.W() - (this.b.f21144a * 1000000000), qVar.f21239a.W() - (qVar.b.f21144a * 1000000000));
|
|
return compare == 0 ? this.f21239a.compareTo(qVar.f21239a) : compare;
|
|
}
|
|
|
|
static {
|
|
k kVar = k.e;
|
|
ZoneOffset zoneOffset = ZoneOffset.f;
|
|
kVar.getClass();
|
|
new q(kVar, zoneOffset);
|
|
k kVar2 = k.f;
|
|
ZoneOffset zoneOffset2 = ZoneOffset.e;
|
|
kVar2.getClass();
|
|
new q(kVar2, zoneOffset2);
|
|
}
|
|
|
|
public q(k kVar, ZoneOffset zoneOffset) {
|
|
this.f21239a = (k) Objects.requireNonNull(kVar, "time");
|
|
this.b = (ZoneOffset) Objects.requireNonNull(zoneOffset, "offset");
|
|
}
|
|
|
|
public final q L(k kVar, ZoneOffset zoneOffset) {
|
|
return (this.f21239a == kVar && this.b.equals(zoneOffset)) ? this : new q(kVar, zoneOffset);
|
|
}
|
|
|
|
@Override // j$.time.temporal.n
|
|
public final boolean c(j$.time.temporal.r rVar) {
|
|
return rVar instanceof j$.time.temporal.a ? ((j$.time.temporal.a) rVar).y() || rVar == j$.time.temporal.a.OFFSET_SECONDS : rVar != null && rVar.d(this);
|
|
}
|
|
|
|
@Override // j$.time.temporal.n
|
|
public final j$.time.temporal.v i(j$.time.temporal.r rVar) {
|
|
if (rVar instanceof j$.time.temporal.a) {
|
|
if (rVar != j$.time.temporal.a.OFFSET_SECONDS) {
|
|
k kVar = this.f21239a;
|
|
kVar.getClass();
|
|
return j$.time.temporal.s.d(kVar, rVar);
|
|
}
|
|
return ((j$.time.temporal.a) rVar).b;
|
|
}
|
|
return rVar.g(this);
|
|
}
|
|
|
|
@Override // j$.time.temporal.n
|
|
public final int g(j$.time.temporal.r rVar) {
|
|
return j$.time.temporal.s.a(this, rVar);
|
|
}
|
|
|
|
@Override // j$.time.temporal.n
|
|
public final long y(j$.time.temporal.r rVar) {
|
|
if (rVar instanceof j$.time.temporal.a) {
|
|
if (rVar == j$.time.temporal.a.OFFSET_SECONDS) {
|
|
return this.b.f21144a;
|
|
}
|
|
return this.f21239a.y(rVar);
|
|
}
|
|
return rVar.i(this);
|
|
}
|
|
|
|
@Override // j$.time.temporal.m
|
|
public final j$.time.temporal.m a(long j, j$.time.temporal.r rVar) {
|
|
if (rVar instanceof j$.time.temporal.a) {
|
|
if (rVar == j$.time.temporal.a.OFFSET_SECONDS) {
|
|
j$.time.temporal.a aVar = (j$.time.temporal.a) rVar;
|
|
return L(this.f21239a, ZoneOffset.R(aVar.b.a(j, aVar)));
|
|
}
|
|
return L(this.f21239a.a(j, rVar), this.b);
|
|
}
|
|
return (q) rVar.l(this, j);
|
|
}
|
|
|
|
@Override // j$.time.temporal.m
|
|
/* renamed from: K, reason: merged with bridge method [inline-methods] */
|
|
public final q b(long j, j$.time.temporal.t tVar) {
|
|
if (tVar instanceof j$.time.temporal.b) {
|
|
return L(this.f21239a.b(j, tVar), this.b);
|
|
}
|
|
return (q) tVar.d(this, j);
|
|
}
|
|
|
|
@Override // j$.time.temporal.m
|
|
public final j$.time.temporal.m u(long j, j$.time.temporal.b bVar) {
|
|
return j == Long.MIN_VALUE ? b(LongCompanionObject.MAX_VALUE, bVar).b(1L, bVar) : b(-j, bVar);
|
|
}
|
|
|
|
@Override // j$.time.temporal.n
|
|
public final Object d(h hVar) {
|
|
if (hVar == j$.time.temporal.s.d || hVar == j$.time.temporal.s.e) {
|
|
return this.b;
|
|
}
|
|
if (((hVar == j$.time.temporal.s.f21256a) || (hVar == j$.time.temporal.s.b)) || hVar == j$.time.temporal.s.f) {
|
|
return null;
|
|
}
|
|
if (hVar == j$.time.temporal.s.g) {
|
|
return this.f21239a;
|
|
}
|
|
if (hVar == j$.time.temporal.s.f21257c) {
|
|
return j$.time.temporal.b.NANOS;
|
|
}
|
|
return hVar.d(this);
|
|
}
|
|
|
|
@Override // j$.time.temporal.o
|
|
public final j$.time.temporal.m l(j$.time.temporal.m mVar) {
|
|
return mVar.a(this.f21239a.W(), j$.time.temporal.a.NANO_OF_DAY).a(this.b.f21144a, j$.time.temporal.a.OFFSET_SECONDS);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj instanceof q) {
|
|
q qVar = (q) obj;
|
|
if (this.f21239a.equals(qVar.f21239a) && this.b.equals(qVar.b)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
return this.f21239a.hashCode() ^ this.b.f21144a;
|
|
}
|
|
|
|
public final String toString() {
|
|
return this.f21239a.toString() + this.b.b;
|
|
}
|
|
|
|
private Object writeReplace() {
|
|
return new s((byte) 9, this);
|
|
}
|
|
|
|
private void readObject(ObjectInputStream objectInputStream) {
|
|
throw new InvalidObjectException("Deserialization via serialization delegate");
|
|
}
|
|
|
|
@Override // j$.time.temporal.m
|
|
/* renamed from: h */
|
|
public final j$.time.temporal.m t(g gVar) {
|
|
return (q) j$.com.android.tools.r8.a.a(gVar, this);
|
|
}
|
|
}
|