* 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>
266 lines
8.7 KiB
Java
266 lines
8.7 KiB
Java
package j$.util.stream;
|
|
|
|
import j$.util.Optional;
|
|
import j$.util.Spliterator;
|
|
import j$.util.stream.IntStream;
|
|
import j$.util.stream.Stream;
|
|
import java.util.Comparator;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import java.util.function.BiConsumer;
|
|
import java.util.function.BiFunction;
|
|
import java.util.function.BinaryOperator;
|
|
import java.util.function.Consumer;
|
|
import java.util.function.Function;
|
|
import java.util.function.IntFunction;
|
|
import java.util.function.Predicate;
|
|
import java.util.function.Supplier;
|
|
import java.util.function.ToDoubleFunction;
|
|
import java.util.function.ToIntFunction;
|
|
import java.util.function.ToLongFunction;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final /* synthetic */ class z6 implements Stream {
|
|
|
|
/* renamed from: a */
|
|
public final /* synthetic */ java.util.stream.Stream f21516a;
|
|
|
|
public /* synthetic */ z6(java.util.stream.Stream stream) {
|
|
this.f21516a = stream;
|
|
}
|
|
|
|
public static /* synthetic */ Stream f(java.util.stream.Stream stream) {
|
|
if (stream == null) {
|
|
return null;
|
|
}
|
|
return stream instanceof Stream.Wrapper ? Stream.this : new z6(stream);
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ boolean allMatch(Predicate predicate) {
|
|
return this.f21516a.allMatch(predicate);
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ boolean anyMatch(Predicate predicate) {
|
|
return this.f21516a.anyMatch(predicate);
|
|
}
|
|
|
|
@Override // java.lang.AutoCloseable
|
|
public final /* synthetic */ void close() {
|
|
this.f21516a.close();
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Object collect(Collector collector) {
|
|
return this.f21516a.collect(collector == null ? null : collector instanceof g ? ((g) collector).f21420a : new h(collector));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Object collect(Supplier supplier, BiConsumer biConsumer, BiConsumer biConsumer2) {
|
|
return this.f21516a.collect(supplier, biConsumer, biConsumer2);
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ long count() {
|
|
return this.f21516a.count();
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream d(j$.util.p pVar) {
|
|
return f(this.f21516a.flatMap(v3.m0(pVar)));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream distinct() {
|
|
return f(this.f21516a.distinct());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream dropWhile(Predicate predicate) {
|
|
return f(this.f21516a.dropWhile(predicate));
|
|
}
|
|
|
|
public final /* synthetic */ boolean equals(Object obj) {
|
|
java.util.stream.Stream stream = this.f21516a;
|
|
if (obj instanceof z6) {
|
|
obj = ((z6) obj).f21516a;
|
|
}
|
|
return stream.equals(obj);
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream filter(Predicate predicate) {
|
|
return f(this.f21516a.filter(predicate));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Optional findAny() {
|
|
return j$.com.android.tools.r8.a.x(this.f21516a.findAny());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Optional findFirst() {
|
|
return j$.com.android.tools.r8.a.x(this.f21516a.findFirst());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ void forEach(Consumer consumer) {
|
|
this.f21516a.forEach(consumer);
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ void forEachOrdered(Consumer consumer) {
|
|
this.f21516a.forEachOrdered(consumer);
|
|
}
|
|
|
|
public final /* synthetic */ int hashCode() {
|
|
return this.f21516a.hashCode();
|
|
}
|
|
|
|
@Override // j$.util.stream.BaseStream
|
|
public final /* synthetic */ boolean isParallel() {
|
|
return this.f21516a.isParallel();
|
|
}
|
|
|
|
@Override // j$.util.stream.BaseStream
|
|
/* renamed from: iterator */
|
|
public final /* synthetic */ Iterator iterator2() {
|
|
return this.f21516a.iterator();
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ LongStream l(j$.util.p pVar) {
|
|
return h1.f(this.f21516a.flatMapToLong(v3.m0(pVar)));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream limit(long j) {
|
|
return f(this.f21516a.limit(j));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream map(Function function) {
|
|
return f(this.f21516a.map(function));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ DoubleStream mapToDouble(ToDoubleFunction toDoubleFunction) {
|
|
return z.f(this.f21516a.mapToDouble(toDoubleFunction));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ IntStream mapToInt(ToIntFunction toIntFunction) {
|
|
return IntStream.VivifiedWrapper.convert(this.f21516a.mapToInt(toIntFunction));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ LongStream mapToLong(ToLongFunction toLongFunction) {
|
|
return h1.f(this.f21516a.mapToLong(toLongFunction));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Optional max(Comparator comparator) {
|
|
return j$.com.android.tools.r8.a.x(this.f21516a.max(comparator));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Optional min(Comparator comparator) {
|
|
return j$.com.android.tools.r8.a.x(this.f21516a.min(comparator));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ IntStream n(j$.util.p pVar) {
|
|
return IntStream.VivifiedWrapper.convert(this.f21516a.flatMapToInt(v3.m0(pVar)));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ boolean noneMatch(Predicate predicate) {
|
|
return this.f21516a.noneMatch(predicate);
|
|
}
|
|
|
|
@Override // j$.util.stream.BaseStream
|
|
public final /* synthetic */ BaseStream onClose(Runnable runnable) {
|
|
return e.f(this.f21516a.onClose(runnable));
|
|
}
|
|
|
|
@Override // j$.util.stream.BaseStream
|
|
public final /* synthetic */ BaseStream parallel() {
|
|
return e.f(this.f21516a.parallel());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream peek(Consumer consumer) {
|
|
return f(this.f21516a.peek(consumer));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Optional reduce(BinaryOperator binaryOperator) {
|
|
return j$.com.android.tools.r8.a.x(this.f21516a.reduce(binaryOperator));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Object reduce(Object obj, BiFunction biFunction, BinaryOperator binaryOperator) {
|
|
return this.f21516a.reduce(obj, biFunction, binaryOperator);
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Object reduce(Object obj, BinaryOperator binaryOperator) {
|
|
return this.f21516a.reduce(obj, binaryOperator);
|
|
}
|
|
|
|
@Override // j$.util.stream.BaseStream
|
|
public final /* synthetic */ BaseStream sequential() {
|
|
return e.f(this.f21516a.sequential());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream skip(long j) {
|
|
return f(this.f21516a.skip(j));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream sorted() {
|
|
return f(this.f21516a.sorted());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream sorted(Comparator comparator) {
|
|
return f(this.f21516a.sorted(comparator));
|
|
}
|
|
|
|
@Override // j$.util.stream.BaseStream
|
|
public final /* synthetic */ Spliterator spliterator() {
|
|
return j$.util.y0.a(this.f21516a.spliterator());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Stream takeWhile(Predicate predicate) {
|
|
return f(this.f21516a.takeWhile(predicate));
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Object[] toArray() {
|
|
return this.f21516a.toArray();
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ Object[] toArray(IntFunction intFunction) {
|
|
return this.f21516a.toArray(intFunction);
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ List toList() {
|
|
return this.f21516a.toList();
|
|
}
|
|
|
|
@Override // j$.util.stream.BaseStream
|
|
public final /* synthetic */ BaseStream unordered() {
|
|
return e.f(this.f21516a.unordered());
|
|
}
|
|
|
|
@Override // j$.util.stream.Stream
|
|
public final /* synthetic */ DoubleStream y(j$.util.p pVar) {
|
|
return z.f(this.f21516a.flatMapToDouble(v3.m0(pVar)));
|
|
}
|
|
}
|