73 lines
1.9 KiB
Smali
73 lines
1.9 KiB
Smali
.class public Lcom/helpshift/Helpshift$18;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/helpshift/Helpshift;->requestUnreadMessageCount(Z)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic val$hsContext:Lcom/helpshift/core/HSContext;
|
|
|
|
.field public final synthetic val$shouldFetchFromServer:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ZLcom/helpshift/core/HSContext;)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/helpshift/Helpshift$18;->val$shouldFetchFromServer:Z
|
|
|
|
iput-object p2, p0, Lcom/helpshift/Helpshift$18;->val$hsContext:Lcom/helpshift/core/HSContext;
|
|
|
|
.line 720
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/helpshift/Helpshift$18;->val$shouldFetchFromServer:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/helpshift/Helpshift$18;->val$hsContext:Lcom/helpshift/core/HSContext;
|
|
|
|
.line 724
|
|
invoke-virtual {v0}, Lcom/helpshift/core/HSContext;->getRequestUnreadMessageCountHandler()Lcom/helpshift/notification/RequestUnreadMessageCountHandler;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/helpshift/notification/RequestUnreadMessageCountHandler;->handleRemoteRequest()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/helpshift/Helpshift$18;->val$hsContext:Lcom/helpshift/core/HSContext;
|
|
|
|
.line 727
|
|
invoke-virtual {v0}, Lcom/helpshift/core/HSContext;->getRequestUnreadMessageCountHandler()Lcom/helpshift/notification/RequestUnreadMessageCountHandler;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/helpshift/notification/RequestUnreadMessageCountHandler;->handleLocalCacheRequest()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|