zzqd.smali

.class public final Lcom/google/android/gms/internal/gtm/zzqd;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field private final zza:Ljava/util/concurrent/ScheduledExecutorService;

.field private zzb:Ljava/util/concurrent/ScheduledFuture;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/ScheduledFuture<",
            "*>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 4

    invoke-static {}, Lcom/google/android/gms/internal/gtm/zzfz;->zza()Lcom/google/android/gms/internal/gtm/zzfw;

    move-result-object v0

    const/4 v1, 0x1

    const/4 v2, 0x2

    invoke-interface {v0, v1, v2}, Lcom/google/android/gms/internal/gtm/zzfw;->zzb(II)Ljava/util/concurrent/ScheduledExecutorService;

    move-result-object v0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v1, 0x0

    iput-object v1, p0, Lcom/google/android/gms/internal/gtm/zzqd;->zzb:Ljava/util/concurrent/ScheduledFuture;

    iput-object v0, p0, Lcom/google/android/gms/internal/gtm/zzqd;->zza:Ljava/util/concurrent/ScheduledExecutorService;

    return-void
.end method


# virtual methods
.method public final zza(Landroid/content/Context;Lcom/google/android/gms/internal/gtm/zzpq;JLcom/google/android/gms/internal/gtm/zzph;)V
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-object p3, p0, Lcom/google/android/gms/internal/gtm/zzqd;->zzb:Ljava/util/concurrent/ScheduledFuture;

    if-eqz p3, :cond_9

    const/4 p4, 0x0

    .line 1
    invoke-interface {p3, p4}, Ljava/util/concurrent/Future;->cancel(Z)Z

    :cond_9
    new-instance p3, Lcom/google/android/gms/internal/gtm/zzqc;

    .line 2
    invoke-direct {p3, p1, p2, p5}, Lcom/google/android/gms/internal/gtm/zzqc;-><init>(Landroid/content/Context;Lcom/google/android/gms/internal/gtm/zzpq;Lcom/google/android/gms/internal/gtm/zzph;)V

    iget-object p1, p0, Lcom/google/android/gms/internal/gtm/zzqd;->zza:Ljava/util/concurrent/ScheduledExecutorService;

    const-wide/16 p4, 0x0

    sget-object p2, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    .line 3
    invoke-interface {p1, p3, p4, p5, p2}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;

    move-result-object p1

    iput-object p1, p0, Lcom/google/android/gms/internal/gtm/zzqd;->zzb:Ljava/util/concurrent/ScheduledFuture;

    .line 4
    monitor-exit p0

    return-void

    :catchall_1c
    move-exception p1

    monitor-exit p0
    :try_end_1e
    .catchall {:try_start_1 .. :try_end_1e} :catchall_1c

    throw p1
.end method