* 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>
274 lines
8.1 KiB
Java
274 lines
8.1 KiB
Java
package j$.time.chrono;
|
|
|
|
import j$.util.Objects;
|
|
import java.io.InvalidObjectException;
|
|
import java.io.ObjectInputStream;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class j0 extends d {
|
|
private static final long serialVersionUID = -8722293800195731463L;
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final transient j$.time.g f21162a;
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
public final e A(j$.time.k kVar) {
|
|
return new g(this, kVar);
|
|
}
|
|
|
|
public j0(j$.time.g gVar) {
|
|
Objects.requireNonNull(gVar, "isoDate");
|
|
this.f21162a = gVar;
|
|
}
|
|
|
|
@Override // j$.time.chrono.b
|
|
public final m getChronology() {
|
|
return h0.f21159c;
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
public final int hashCode() {
|
|
h0.f21159c.getClass();
|
|
return this.f21162a.hashCode() ^ 146118545;
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
public final n B() {
|
|
return O() >= 1 ? k0.BE : k0.BEFORE_BE;
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.temporal.n
|
|
public final j$.time.temporal.v i(j$.time.temporal.r rVar) {
|
|
long j;
|
|
if (!(rVar instanceof j$.time.temporal.a)) {
|
|
return rVar.g(this);
|
|
}
|
|
if (j$.com.android.tools.r8.a.k(this, rVar)) {
|
|
j$.time.temporal.a aVar = (j$.time.temporal.a) rVar;
|
|
int i = i0.f21161a[aVar.ordinal()];
|
|
if (i == 1 || i == 2 || i == 3) {
|
|
return this.f21162a.i(rVar);
|
|
}
|
|
if (i != 4) {
|
|
return h0.f21159c.n(aVar);
|
|
}
|
|
j$.time.temporal.v vVar = j$.time.temporal.a.YEAR.b;
|
|
if (O() <= 0) {
|
|
j = (-(vVar.f21258a + 543)) + 1;
|
|
} else {
|
|
j = 543 + vVar.d;
|
|
}
|
|
return j$.time.temporal.v.f(1L, j);
|
|
}
|
|
throw new RuntimeException(j$.time.c.a("Unsupported field: ", rVar));
|
|
}
|
|
|
|
@Override // j$.time.temporal.n
|
|
public final long y(j$.time.temporal.r rVar) {
|
|
if (rVar instanceof j$.time.temporal.a) {
|
|
int i = i0.f21161a[((j$.time.temporal.a) rVar).ordinal()];
|
|
if (i == 4) {
|
|
int O = O();
|
|
if (O < 1) {
|
|
O = 1 - O;
|
|
}
|
|
return O;
|
|
}
|
|
if (i == 5) {
|
|
return ((O() * 12) + this.f21162a.b) - 1;
|
|
}
|
|
if (i == 6) {
|
|
return O();
|
|
}
|
|
if (i != 7) {
|
|
return this.f21162a.y(rVar);
|
|
}
|
|
return O() < 1 ? 0 : 1;
|
|
}
|
|
return rVar.i(this);
|
|
}
|
|
|
|
public final int O() {
|
|
return this.f21162a.f21225a + 543;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:12:0x0022, code lost:
|
|
|
|
if (r2 != 7) goto L20;
|
|
*/
|
|
@Override // j$.time.chrono.d, j$.time.temporal.m
|
|
/* renamed from: P, reason: merged with bridge method [inline-methods] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final j$.time.chrono.j0 a(long r8, j$.time.temporal.r r10) {
|
|
/*
|
|
r7 = this;
|
|
boolean r0 = r10 instanceof j$.time.temporal.a
|
|
if (r0 == 0) goto L9f
|
|
r0 = r10
|
|
j$.time.temporal.a r0 = (j$.time.temporal.a) r0
|
|
long r1 = r7.y(r0)
|
|
int r1 = (r1 > r8 ? 1 : (r1 == r8 ? 0 : -1))
|
|
if (r1 != 0) goto L10
|
|
return r7
|
|
L10:
|
|
int[] r1 = j$.time.chrono.i0.f21161a
|
|
int r2 = r0.ordinal()
|
|
r2 = r1[r2]
|
|
r3 = 7
|
|
r4 = 6
|
|
r5 = 4
|
|
if (r2 == r5) goto L49
|
|
r6 = 5
|
|
if (r2 == r6) goto L25
|
|
if (r2 == r4) goto L49
|
|
if (r2 == r3) goto L49
|
|
goto L5f
|
|
L25:
|
|
j$.time.chrono.h0 r10 = j$.time.chrono.h0.f21159c
|
|
j$.time.temporal.v r10 = r10.n(r0)
|
|
r10.b(r8, r0)
|
|
int r10 = r7.O()
|
|
long r0 = (long) r10
|
|
r2 = 12
|
|
long r0 = r0 * r2
|
|
j$.time.g r10 = r7.f21162a
|
|
short r2 = r10.b
|
|
long r2 = (long) r2
|
|
long r0 = r0 + r2
|
|
r2 = 1
|
|
long r0 = r0 - r2
|
|
long r8 = r8 - r0
|
|
j$.time.g r8 = r10.Z(r8)
|
|
j$.time.chrono.j0 r8 = r7.Q(r8)
|
|
return r8
|
|
L49:
|
|
j$.time.chrono.h0 r2 = j$.time.chrono.h0.f21159c
|
|
j$.time.temporal.v r2 = r2.n(r0)
|
|
int r2 = r2.a(r8, r0)
|
|
int r0 = r0.ordinal()
|
|
r0 = r1[r0]
|
|
if (r0 == r5) goto L88
|
|
if (r0 == r4) goto L7b
|
|
if (r0 == r3) goto L6a
|
|
L5f:
|
|
j$.time.g r0 = r7.f21162a
|
|
j$.time.g r8 = r0.a(r8, r10)
|
|
j$.time.chrono.j0 r8 = r7.Q(r8)
|
|
return r8
|
|
L6a:
|
|
j$.time.g r8 = r7.f21162a
|
|
int r9 = r7.O()
|
|
int r9 = (-542) - r9
|
|
j$.time.g r8 = r8.f0(r9)
|
|
j$.time.chrono.j0 r8 = r7.Q(r8)
|
|
return r8
|
|
L7b:
|
|
j$.time.g r8 = r7.f21162a
|
|
int r2 = r2 + (-543)
|
|
j$.time.g r8 = r8.f0(r2)
|
|
j$.time.chrono.j0 r8 = r7.Q(r8)
|
|
return r8
|
|
L88:
|
|
j$.time.g r8 = r7.f21162a
|
|
int r9 = r7.O()
|
|
r10 = 1
|
|
if (r9 < r10) goto L92
|
|
goto L94
|
|
L92:
|
|
int r2 = 1 - r2
|
|
L94:
|
|
int r2 = r2 + (-543)
|
|
j$.time.g r8 = r8.f0(r2)
|
|
j$.time.chrono.j0 r8 = r7.Q(r8)
|
|
return r8
|
|
L9f:
|
|
j$.time.chrono.b r8 = super.a(r8, r10)
|
|
j$.time.chrono.j0 r8 = (j$.time.chrono.j0) r8
|
|
return r8
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: j$.time.chrono.j0.a(long, j$.time.temporal.r):j$.time.chrono.j0");
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.temporal.m
|
|
/* renamed from: h */
|
|
public final j$.time.temporal.m t(j$.time.g gVar) {
|
|
return (j0) super.t(gVar);
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
public final b t(j$.time.temporal.o oVar) {
|
|
return (j0) super.t(oVar);
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
public final b E(j$.time.temporal.q qVar) {
|
|
return (j0) super.E(qVar);
|
|
}
|
|
|
|
@Override // j$.time.chrono.d
|
|
public final b N(long j) {
|
|
return Q(this.f21162a.b0(j));
|
|
}
|
|
|
|
@Override // j$.time.chrono.d
|
|
public final b M(long j) {
|
|
return Q(this.f21162a.Z(j));
|
|
}
|
|
|
|
@Override // j$.time.chrono.d
|
|
public final b L(long j) {
|
|
return Q(this.f21162a.Y(j));
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b, j$.time.temporal.m
|
|
public final b b(long j, j$.time.temporal.t tVar) {
|
|
return (j0) super.b(j, tVar);
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.temporal.m
|
|
public final j$.time.temporal.m b(long j, j$.time.temporal.t tVar) {
|
|
return (j0) super.b(j, tVar);
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
/* renamed from: o */
|
|
public final b u(long j, j$.time.temporal.t tVar) {
|
|
return (j0) super.u(j, tVar);
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.temporal.m
|
|
public final j$.time.temporal.m u(long j, j$.time.temporal.b bVar) {
|
|
return (j0) super.u(j, bVar);
|
|
}
|
|
|
|
public final j0 Q(j$.time.g gVar) {
|
|
return gVar.equals(this.f21162a) ? this : new j0(gVar);
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
public final long z() {
|
|
return this.f21162a.z();
|
|
}
|
|
|
|
@Override // j$.time.chrono.d, j$.time.chrono.b
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj instanceof j0) {
|
|
return this.f21162a.equals(((j0) obj).f21162a);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private void readObject(ObjectInputStream objectInputStream) {
|
|
throw new InvalidObjectException("Deserialization via serialization delegate");
|
|
}
|
|
|
|
private Object writeReplace() {
|
|
return new f0((byte) 8, this);
|
|
}
|
|
}
|