* 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>
51 lines
4.3 KiB
Java
51 lines
4.3 KiB
Java
package io.opencensus.contrib.http.util;
|
|
|
|
import io.opencensus.stats.Aggregation;
|
|
import io.opencensus.stats.BucketBoundaries;
|
|
import io.opencensus.stats.Measure;
|
|
import io.opencensus.stats.View;
|
|
import io.opencensus.tags.TagKey;
|
|
import j$.util.DesugarCollections;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class HttpViewConstants {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public static final View f21067a;
|
|
public static final View b;
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public static final View f21068c;
|
|
public static final View d;
|
|
public static final View e;
|
|
public static final View f;
|
|
public static final View g;
|
|
public static final View h;
|
|
|
|
static {
|
|
Double valueOf = Double.valueOf(0.0d);
|
|
Aggregation.Distribution a2 = Aggregation.Distribution.a(BucketBoundaries.a(DesugarCollections.unmodifiableList(Arrays.asList(valueOf, Double.valueOf(1024.0d), Double.valueOf(2048.0d), Double.valueOf(4096.0d), Double.valueOf(16384.0d), Double.valueOf(65536.0d), Double.valueOf(262144.0d), Double.valueOf(1048576.0d), Double.valueOf(4194304.0d), Double.valueOf(1.6777216E7d), Double.valueOf(6.7108864E7d), Double.valueOf(2.68435456E8d), Double.valueOf(1.073741824E9d), Double.valueOf(4.294967296E9d)))));
|
|
Aggregation.Distribution a3 = Aggregation.Distribution.a(BucketBoundaries.a(DesugarCollections.unmodifiableList(Arrays.asList(valueOf, Double.valueOf(1.0d), Double.valueOf(2.0d), Double.valueOf(3.0d), Double.valueOf(4.0d), Double.valueOf(5.0d), Double.valueOf(6.0d), Double.valueOf(8.0d), Double.valueOf(10.0d), Double.valueOf(13.0d), Double.valueOf(16.0d), Double.valueOf(20.0d), Double.valueOf(25.0d), Double.valueOf(30.0d), Double.valueOf(40.0d), Double.valueOf(50.0d), Double.valueOf(65.0d), Double.valueOf(80.0d), Double.valueOf(100.0d), Double.valueOf(130.0d), Double.valueOf(160.0d), Double.valueOf(200.0d), Double.valueOf(250.0d), Double.valueOf(300.0d), Double.valueOf(400.0d), Double.valueOf(500.0d), Double.valueOf(650.0d), Double.valueOf(800.0d), Double.valueOf(1000.0d), Double.valueOf(2000.0d), Double.valueOf(5000.0d), Double.valueOf(10000.0d), Double.valueOf(20000.0d), Double.valueOf(50000.0d), Double.valueOf(100000.0d)))));
|
|
View.Name b2 = View.Name.b("opencensus.io/http/client/completed_count");
|
|
Measure.MeasureDouble measureDouble = HttpMeasureConstants.f21066c;
|
|
TagKey tagKey = HttpMeasureConstants.i;
|
|
TagKey tagKey2 = HttpMeasureConstants.g;
|
|
List asList = Arrays.asList(tagKey, tagKey2);
|
|
Aggregation.Count count = Aggregation.Count.f21072a;
|
|
f21067a = View.a(b2, "Count of client-side HTTP requests completed", measureDouble, count, asList);
|
|
b = View.a(View.Name.b("opencensus.io/http/client/sent_bytes"), "Size distribution of client-side HTTP request body", HttpMeasureConstants.f21065a, a2, Arrays.asList(tagKey, tagKey2));
|
|
f21068c = View.a(View.Name.b("opencensus.io/http/client/received_bytes"), "Size distribution of client-side HTTP response body", HttpMeasureConstants.b, a2, Arrays.asList(tagKey, tagKey2));
|
|
d = View.a(View.Name.b("opencensus.io/http/client/roundtrip_latency"), "Roundtrip latency distribution of client-side HTTP requests", measureDouble, a3, Arrays.asList(tagKey, tagKey2));
|
|
View.Name b3 = View.Name.b("opencensus.io/http/server/completed_count");
|
|
Measure.MeasureDouble measureDouble2 = HttpMeasureConstants.f;
|
|
TagKey tagKey3 = HttpMeasureConstants.j;
|
|
TagKey tagKey4 = HttpMeasureConstants.k;
|
|
TagKey tagKey5 = HttpMeasureConstants.h;
|
|
e = View.a(b3, "Count of HTTP server-side requests serving completed", measureDouble2, count, Arrays.asList(tagKey3, tagKey4, tagKey5));
|
|
f = View.a(View.Name.b("opencensus.io/http/server/received_bytes"), "Size distribution of server-side HTTP request body", HttpMeasureConstants.d, a2, Arrays.asList(tagKey3, tagKey4, tagKey5));
|
|
g = View.a(View.Name.b("opencensus.io/http/server/sent_bytes"), "Size distribution of server-side HTTP response body", HttpMeasureConstants.e, a2, Arrays.asList(tagKey3, tagKey4, tagKey5));
|
|
h = View.a(View.Name.b("opencensus.io/http/server/server_latency"), "Latency distribution of server-side HTTP requests serving", measureDouble2, a3, Arrays.asList(tagKey3, tagKey4, tagKey5));
|
|
}
|
|
}
|