mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
78 lines
2 KiB
Smali
78 lines
2 KiB
Smali
.class public final Lio/sentry/util/IntegrationUtils;
|
|
.super Ljava/lang/Object;
|
|
.source "IntegrationUtils.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 8
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static addIntegrationToSdkVersion(Ljava/lang/Class;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 12
|
|
invoke-virtual {p0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Sentry"
|
|
|
|
const-string v1, ""
|
|
|
|
.line 13
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Integration"
|
|
|
|
.line 14
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Interceptor"
|
|
|
|
.line 15
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "EventProcessor"
|
|
|
|
.line 16
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 17
|
|
invoke-static {p0}, Lio/sentry/util/IntegrationUtils;->addIntegrationToSdkVersion(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static addIntegrationToSdkVersion(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 21
|
|
invoke-static {}, Lio/sentry/SentryIntegrationPackageStorage;->getInstance()Lio/sentry/SentryIntegrationPackageStorage;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Lio/sentry/SentryIntegrationPackageStorage;->addIntegration(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|