Files
rr3-apk/smali_classes3/com/helpshift/chat/HSEventProxy$2.smali
supermegamestre 4bbd74a497 First Upload
Just the APK
Force update disabled, will only work offline.
2026-01-26 00:26:29 -03:00

104 lines
2.9 KiB
Smali

.class public Lcom/helpshift/chat/HSEventProxy$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/helpshift/chat/HSEventProxy;->sendAuthFailureEvent(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/helpshift/chat/HSEventProxy;
.field public final synthetic val$reason:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/helpshift/chat/HSEventProxy;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/helpshift/chat/HSEventProxy$2;->this$0:Lcom/helpshift/chat/HSEventProxy;
iput-object p2, p0, Lcom/helpshift/chat/HSEventProxy$2;->val$reason:Ljava/lang/String;
.line 56
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Lcom/helpshift/chat/HSEventProxy$2;->this$0:Lcom/helpshift/chat/HSEventProxy;
.line 59
invoke-static {v0}, Lcom/helpshift/chat/HSEventProxy;->access$000(Lcom/helpshift/chat/HSEventProxy;)Lcom/helpshift/HelpshiftEventsListener;
move-result-object v0
if-nez v0, :cond_0
return-void
.line 62
:cond_0
sget-object v0, Lcom/helpshift/HelpshiftAuthenticationFailureReason;->UNKNOWN:Lcom/helpshift/HelpshiftAuthenticationFailureReason;
const-string v1, "missing user auth token"
iget-object v2, p0, Lcom/helpshift/chat/HSEventProxy$2;->val$reason:Ljava/lang/String;
.line 63
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
.line 64
sget-object v0, Lcom/helpshift/HelpshiftAuthenticationFailureReason;->REASON_AUTH_TOKEN_NOT_PROVIDED:Lcom/helpshift/HelpshiftAuthenticationFailureReason;
goto :goto_0
:cond_1
const-string v1, "invalid user auth token"
iget-object v2, p0, Lcom/helpshift/chat/HSEventProxy$2;->val$reason:Ljava/lang/String;
.line 66
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
.line 67
sget-object v0, Lcom/helpshift/HelpshiftAuthenticationFailureReason;->REASON_INVALID_AUTH_TOKEN:Lcom/helpshift/HelpshiftAuthenticationFailureReason;
:cond_2
:goto_0
iget-object v1, p0, Lcom/helpshift/chat/HSEventProxy$2;->this$0:Lcom/helpshift/chat/HSEventProxy;
.line 69
invoke-static {v1}, Lcom/helpshift/chat/HSEventProxy;->access$000(Lcom/helpshift/chat/HSEventProxy;)Lcom/helpshift/HelpshiftEventsListener;
move-result-object v1
invoke-interface {v1, v0}, Lcom/helpshift/HelpshiftEventsListener;->onUserAuthenticationFailure(Lcom/helpshift/HelpshiftAuthenticationFailureReason;)V
return-void
.end method