* 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>
285 lines
10 KiB
Java
285 lines
10 KiB
Java
package j$.util.stream;
|
|
|
|
import j$.util.Spliterator;
|
|
import j$.util.stream.IntStream;
|
|
import j$.util.stream.Stream;
|
|
import java.util.Iterator;
|
|
import java.util.LongSummaryStatistics;
|
|
import java.util.OptionalDouble;
|
|
import java.util.OptionalLong;
|
|
import java.util.Spliterator;
|
|
import java.util.function.BiConsumer;
|
|
import java.util.function.LongBinaryOperator;
|
|
import java.util.function.LongConsumer;
|
|
import java.util.function.LongFunction;
|
|
import java.util.function.LongPredicate;
|
|
import java.util.function.LongToDoubleFunction;
|
|
import java.util.function.LongToIntFunction;
|
|
import java.util.function.LongUnaryOperator;
|
|
import java.util.function.ObjLongConsumer;
|
|
import java.util.function.Supplier;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final /* synthetic */ class i1 implements java.util.stream.LongStream {
|
|
|
|
/* renamed from: a */
|
|
public final /* synthetic */ LongStream f21435a;
|
|
|
|
public /* synthetic */ i1(LongStream longStream) {
|
|
this.f21435a = longStream;
|
|
}
|
|
|
|
public static /* synthetic */ java.util.stream.LongStream f(LongStream longStream) {
|
|
if (longStream == null) {
|
|
return null;
|
|
}
|
|
return longStream instanceof h1 ? ((h1) longStream).f21429a : new i1(longStream);
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ boolean allMatch(LongPredicate longPredicate) {
|
|
return this.f21435a.w();
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ boolean anyMatch(LongPredicate longPredicate) {
|
|
return this.f21435a.q();
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream asDoubleStream() {
|
|
return a0.f(this.f21435a.asDoubleStream());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ OptionalDouble average() {
|
|
return j$.com.android.tools.r8.a.C(this.f21435a.average());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.Stream boxed() {
|
|
return Stream.Wrapper.convert(this.f21435a.boxed());
|
|
}
|
|
|
|
@Override // java.util.stream.BaseStream, java.lang.AutoCloseable
|
|
public final /* synthetic */ void close() {
|
|
this.f21435a.close();
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ Object collect(Supplier supplier, ObjLongConsumer objLongConsumer, BiConsumer biConsumer) {
|
|
return this.f21435a.collect(supplier, objLongConsumer, biConsumer);
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ long count() {
|
|
return this.f21435a.count();
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.LongStream distinct() {
|
|
return f(this.f21435a.distinct());
|
|
}
|
|
|
|
public final /* synthetic */ java.util.stream.LongStream dropWhile(LongPredicate longPredicate) {
|
|
return f(this.f21435a.c());
|
|
}
|
|
|
|
public final /* synthetic */ boolean equals(Object obj) {
|
|
LongStream longStream = this.f21435a;
|
|
if (obj instanceof i1) {
|
|
obj = ((i1) obj).f21435a;
|
|
}
|
|
return longStream.equals(obj);
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.LongStream filter(LongPredicate longPredicate) {
|
|
return f(this.f21435a.b());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ OptionalLong findAny() {
|
|
return j$.com.android.tools.r8.a.E(this.f21435a.findAny());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ OptionalLong findFirst() {
|
|
return j$.com.android.tools.r8.a.E(this.f21435a.findFirst());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ void forEach(LongConsumer longConsumer) {
|
|
this.f21435a.forEach(longConsumer);
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ void forEachOrdered(LongConsumer longConsumer) {
|
|
this.f21435a.forEachOrdered(longConsumer);
|
|
}
|
|
|
|
public final /* synthetic */ int hashCode() {
|
|
return this.f21435a.hashCode();
|
|
}
|
|
|
|
@Override // java.util.stream.BaseStream
|
|
public final /* synthetic */ boolean isParallel() {
|
|
return this.f21435a.isParallel();
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ Iterator<Long> iterator() {
|
|
return this.f21435a.iterator2();
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v1, types: [j$.util.PrimitiveIterator$OfLong] */
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
/* renamed from: iterator */
|
|
public final /* synthetic */ Iterator<Long> iterator2() {
|
|
?? iterator2 = this.f21435a.iterator2();
|
|
if (iterator2 == 0) {
|
|
return null;
|
|
}
|
|
return iterator2 instanceof j$.util.m0 ? ((j$.util.m0) iterator2).f21363a : new j$.util.n0(iterator2);
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.LongStream limit(long j) {
|
|
return f(this.f21435a.limit(j));
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.LongStream map(LongUnaryOperator longUnaryOperator) {
|
|
return f(this.f21435a.e());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream mapToDouble(LongToDoubleFunction longToDoubleFunction) {
|
|
return a0.f(this.f21435a.j());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.IntStream mapToInt(LongToIntFunction longToIntFunction) {
|
|
return IntStream.Wrapper.convert(this.f21435a.A());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.Stream mapToObj(LongFunction longFunction) {
|
|
return Stream.Wrapper.convert(this.f21435a.mapToObj(longFunction));
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ OptionalLong max() {
|
|
return j$.com.android.tools.r8.a.E(this.f21435a.max());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ OptionalLong min() {
|
|
return j$.com.android.tools.r8.a.E(this.f21435a.min());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ boolean noneMatch(LongPredicate longPredicate) {
|
|
return this.f21435a.m();
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r2v2, types: [java.util.stream.LongStream, java.util.stream.BaseStream] */
|
|
@Override // java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.LongStream onClose(Runnable runnable) {
|
|
return f.f(this.f21435a.onClose(runnable));
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [java.util.stream.LongStream, java.util.stream.BaseStream] */
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.LongStream parallel() {
|
|
return f.f(this.f21435a.parallel());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
/* renamed from: parallel */
|
|
public final /* synthetic */ java.util.stream.LongStream parallel2() {
|
|
return f(this.f21435a.parallel());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.LongStream peek(LongConsumer longConsumer) {
|
|
return f(this.f21435a.peek(longConsumer));
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ long reduce(long j, LongBinaryOperator longBinaryOperator) {
|
|
return this.f21435a.reduce(j, longBinaryOperator);
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ OptionalLong reduce(LongBinaryOperator longBinaryOperator) {
|
|
return j$.com.android.tools.r8.a.E(this.f21435a.reduce(longBinaryOperator));
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [java.util.stream.LongStream, java.util.stream.BaseStream] */
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.LongStream sequential() {
|
|
return f.f(this.f21435a.sequential());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
/* renamed from: sequential */
|
|
public final /* synthetic */ java.util.stream.LongStream sequential2() {
|
|
return f(this.f21435a.sequential());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.LongStream skip(long j) {
|
|
return f(this.f21435a.skip(j));
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ java.util.stream.LongStream sorted() {
|
|
return f(this.f21435a.sorted());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ Spliterator<Long> spliterator() {
|
|
return j$.util.v0.a(this.f21435a.spliterator());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream, java.util.stream.BaseStream
|
|
/* renamed from: spliterator */
|
|
public final /* synthetic */ Spliterator<Long> spliterator2() {
|
|
return Spliterator.Wrapper.convert(this.f21435a.spliterator());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ long sum() {
|
|
return this.f21435a.sum();
|
|
}
|
|
|
|
public final /* synthetic */ java.util.stream.LongStream takeWhile(LongPredicate longPredicate) {
|
|
return f(this.f21435a.a());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final /* synthetic */ long[] toArray() {
|
|
return this.f21435a.toArray();
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [java.util.stream.LongStream, java.util.stream.BaseStream] */
|
|
@Override // java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.LongStream unordered() {
|
|
return f.f(this.f21435a.unordered());
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final LongSummaryStatistics summaryStatistics() {
|
|
this.f21435a.summaryStatistics();
|
|
throw new Error("Java 8+ API desugaring (library desugaring) cannot convert to java.util.LongSummaryStatistics");
|
|
}
|
|
|
|
@Override // java.util.stream.LongStream
|
|
public final java.util.stream.LongStream flatMap(LongFunction longFunction) {
|
|
LongStream longStream = this.f21435a;
|
|
j$.util.p pVar = new j$.util.p(6);
|
|
pVar.b = longFunction;
|
|
return f(longStream.d(pVar));
|
|
}
|
|
}
|