* 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>
279 lines
10 KiB
Java
279 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.DoubleSummaryStatistics;
|
|
import java.util.Iterator;
|
|
import java.util.OptionalDouble;
|
|
import java.util.Spliterator;
|
|
import java.util.function.BiConsumer;
|
|
import java.util.function.DoubleBinaryOperator;
|
|
import java.util.function.DoubleConsumer;
|
|
import java.util.function.DoubleFunction;
|
|
import java.util.function.DoublePredicate;
|
|
import java.util.function.DoubleToIntFunction;
|
|
import java.util.function.DoubleToLongFunction;
|
|
import java.util.function.DoubleUnaryOperator;
|
|
import java.util.function.ObjDoubleConsumer;
|
|
import java.util.function.Supplier;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final /* synthetic */ class a0 implements java.util.stream.DoubleStream {
|
|
|
|
/* renamed from: a */
|
|
public final /* synthetic */ DoubleStream f21381a;
|
|
|
|
public /* synthetic */ a0(DoubleStream doubleStream) {
|
|
this.f21381a = doubleStream;
|
|
}
|
|
|
|
public static /* synthetic */ java.util.stream.DoubleStream f(DoubleStream doubleStream) {
|
|
if (doubleStream == null) {
|
|
return null;
|
|
}
|
|
return doubleStream instanceof z ? ((z) doubleStream).f21511a : new a0(doubleStream);
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ boolean allMatch(DoublePredicate doublePredicate) {
|
|
return this.f21381a.t();
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ boolean anyMatch(DoublePredicate doublePredicate) {
|
|
return this.f21381a.o();
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ OptionalDouble average() {
|
|
return j$.com.android.tools.r8.a.C(this.f21381a.average());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.Stream boxed() {
|
|
return Stream.Wrapper.convert(this.f21381a.boxed());
|
|
}
|
|
|
|
@Override // java.util.stream.BaseStream, java.lang.AutoCloseable
|
|
public final /* synthetic */ void close() {
|
|
this.f21381a.close();
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ Object collect(Supplier supplier, ObjDoubleConsumer objDoubleConsumer, BiConsumer biConsumer) {
|
|
return this.f21381a.collect(supplier, objDoubleConsumer, biConsumer);
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ long count() {
|
|
return this.f21381a.count();
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream distinct() {
|
|
return f(this.f21381a.distinct());
|
|
}
|
|
|
|
public final /* synthetic */ java.util.stream.DoubleStream dropWhile(DoublePredicate doublePredicate) {
|
|
return f(this.f21381a.c());
|
|
}
|
|
|
|
public final /* synthetic */ boolean equals(Object obj) {
|
|
DoubleStream doubleStream = this.f21381a;
|
|
if (obj instanceof a0) {
|
|
obj = ((a0) obj).f21381a;
|
|
}
|
|
return doubleStream.equals(obj);
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream filter(DoublePredicate doublePredicate) {
|
|
return f(this.f21381a.b());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ OptionalDouble findAny() {
|
|
return j$.com.android.tools.r8.a.C(this.f21381a.findAny());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ OptionalDouble findFirst() {
|
|
return j$.com.android.tools.r8.a.C(this.f21381a.findFirst());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ void forEach(DoubleConsumer doubleConsumer) {
|
|
this.f21381a.forEach(doubleConsumer);
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ void forEachOrdered(DoubleConsumer doubleConsumer) {
|
|
this.f21381a.forEachOrdered(doubleConsumer);
|
|
}
|
|
|
|
public final /* synthetic */ int hashCode() {
|
|
return this.f21381a.hashCode();
|
|
}
|
|
|
|
@Override // java.util.stream.BaseStream
|
|
public final /* synthetic */ boolean isParallel() {
|
|
return this.f21381a.isParallel();
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ Iterator<Double> iterator() {
|
|
return this.f21381a.iterator2();
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v1, types: [j$.util.PrimitiveIterator$OfDouble] */
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
/* renamed from: iterator */
|
|
public final /* synthetic */ Iterator<Double> iterator2() {
|
|
?? iterator2 = this.f21381a.iterator2();
|
|
if (iterator2 == 0) {
|
|
return null;
|
|
}
|
|
return iterator2 instanceof j$.util.g0 ? ((j$.util.g0) iterator2).f21348a : new j$.util.h0(iterator2);
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream limit(long j) {
|
|
return f(this.f21381a.limit(j));
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream map(DoubleUnaryOperator doubleUnaryOperator) {
|
|
return f(this.f21381a.e());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.IntStream mapToInt(DoubleToIntFunction doubleToIntFunction) {
|
|
return IntStream.Wrapper.convert(this.f21381a.z());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.LongStream mapToLong(DoubleToLongFunction doubleToLongFunction) {
|
|
return i1.f(this.f21381a.u());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.Stream mapToObj(DoubleFunction doubleFunction) {
|
|
return Stream.Wrapper.convert(this.f21381a.mapToObj(doubleFunction));
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ OptionalDouble max() {
|
|
return j$.com.android.tools.r8.a.C(this.f21381a.max());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ OptionalDouble min() {
|
|
return j$.com.android.tools.r8.a.C(this.f21381a.min());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ boolean noneMatch(DoublePredicate doublePredicate) {
|
|
return this.f21381a.B();
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r2v2, types: [java.util.stream.BaseStream, java.util.stream.DoubleStream] */
|
|
@Override // java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream onClose(Runnable runnable) {
|
|
return f.f(this.f21381a.onClose(runnable));
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [java.util.stream.BaseStream, java.util.stream.DoubleStream] */
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream parallel() {
|
|
return f.f(this.f21381a.parallel());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
/* renamed from: parallel */
|
|
public final /* synthetic */ java.util.stream.DoubleStream parallel2() {
|
|
return f(this.f21381a.parallel());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream peek(DoubleConsumer doubleConsumer) {
|
|
return f(this.f21381a.peek(doubleConsumer));
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ double reduce(double d, DoubleBinaryOperator doubleBinaryOperator) {
|
|
return this.f21381a.reduce(d, doubleBinaryOperator);
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ OptionalDouble reduce(DoubleBinaryOperator doubleBinaryOperator) {
|
|
return j$.com.android.tools.r8.a.C(this.f21381a.reduce(doubleBinaryOperator));
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [java.util.stream.BaseStream, java.util.stream.DoubleStream] */
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream sequential() {
|
|
return f.f(this.f21381a.sequential());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
/* renamed from: sequential */
|
|
public final /* synthetic */ java.util.stream.DoubleStream sequential2() {
|
|
return f(this.f21381a.sequential());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream skip(long j) {
|
|
return f(this.f21381a.skip(j));
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream sorted() {
|
|
return f(this.f21381a.sorted());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
public final /* synthetic */ Spliterator<Double> spliterator() {
|
|
return j$.util.r0.a(this.f21381a.spliterator());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream, java.util.stream.BaseStream
|
|
/* renamed from: spliterator */
|
|
public final /* synthetic */ Spliterator<Double> spliterator2() {
|
|
return Spliterator.Wrapper.convert(this.f21381a.spliterator());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ double sum() {
|
|
return this.f21381a.sum();
|
|
}
|
|
|
|
public final /* synthetic */ java.util.stream.DoubleStream takeWhile(DoublePredicate doublePredicate) {
|
|
return f(this.f21381a.a());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final /* synthetic */ double[] toArray() {
|
|
return this.f21381a.toArray();
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [java.util.stream.BaseStream, java.util.stream.DoubleStream] */
|
|
@Override // java.util.stream.BaseStream
|
|
public final /* synthetic */ java.util.stream.DoubleStream unordered() {
|
|
return f.f(this.f21381a.unordered());
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final DoubleSummaryStatistics summaryStatistics() {
|
|
this.f21381a.summaryStatistics();
|
|
throw new Error("Java 8+ API desugaring (library desugaring) cannot convert to java.util.DoubleSummaryStatistics");
|
|
}
|
|
|
|
@Override // java.util.stream.DoubleStream
|
|
public final java.util.stream.DoubleStream flatMap(DoubleFunction doubleFunction) {
|
|
DoubleStream doubleStream = this.f21381a;
|
|
j$.util.p pVar = new j$.util.p(4);
|
|
pVar.b = doubleFunction;
|
|
return f(doubleStream.d(pVar));
|
|
}
|
|
}
|