DtbThreadService$2.smali
.class Lcom/amazon/device/ads/DtbThreadService$2;
.super Ljava/lang/Thread;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/amazon/device/ads/DtbThreadService;-><init>()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/amazon/device/ads/DtbThreadService;
# direct methods
.method constructor <init>(Lcom/amazon/device/ads/DtbThreadService;)V
.registers 2
.line 34
iput-object p1, p0, Lcom/amazon/device/ads/DtbThreadService$2;->this$0:Lcom/amazon/device/ads/DtbThreadService;
invoke-direct {p0}, Ljava/lang/Thread;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 3
.line 37
# getter for: Lcom/amazon/device/ads/DtbThreadService;->threadServiceInstance:Lcom/amazon/device/ads/DtbThreadService;
invoke-static {}, Lcom/amazon/device/ads/DtbThreadService;->access$000()Lcom/amazon/device/ads/DtbThreadService;
move-result-object v0
const/4 v1, 0x1
# setter for: Lcom/amazon/device/ads/DtbThreadService;->shutdownInProgress:Z
invoke-static {v0, v1}, Lcom/amazon/device/ads/DtbThreadService;->access$102(Lcom/amazon/device/ads/DtbThreadService;Z)Z
const-string v0, "App is shutting down, terminating the thread pool"
.line 38
invoke-static {v0}, Lcom/amazon/device/ads/DtbLog;->debug(Ljava/lang/String;)V
.line 39
iget-object v0, p0, Lcom/amazon/device/ads/DtbThreadService$2;->this$0:Lcom/amazon/device/ads/DtbThreadService;
# getter for: Lcom/amazon/device/ads/DtbThreadService;->scheduler:Ljava/util/concurrent/ScheduledExecutorService;
invoke-static {v0}, Lcom/amazon/device/ads/DtbThreadService;->access$300(Lcom/amazon/device/ads/DtbThreadService;)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object v0
if-eqz v0, :cond_1e
.line 40
iget-object v0, p0, Lcom/amazon/device/ads/DtbThreadService$2;->this$0:Lcom/amazon/device/ads/DtbThreadService;
# getter for: Lcom/amazon/device/ads/DtbThreadService;->scheduler:Ljava/util/concurrent/ScheduledExecutorService;
invoke-static {v0}, Lcom/amazon/device/ads/DtbThreadService;->access$300(Lcom/amazon/device/ads/DtbThreadService;)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object v0
invoke-interface {v0}, Ljava/util/concurrent/ScheduledExecutorService;->shutdown()V
:cond_1e
return-void
.end method