.class public final synthetic Lz5/mu0;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field public final r:Lz5/lq0;

.field public final s:Landroid/app/Activity;

.field public final t:Lz5/q51;

.field public final u:Lz5/lu0;

.field public final v:Ljava/lang/String;

.field public final w:Lcom/google/android/gms/ads/internal/util/zzbu;

.field public final x:Ljava/lang/String;

.field public final y:Landroid/content/res/Resources;

.field public final z:Lcom/google/android/gms/ads/internal/overlay/zzl;


# direct methods
.method public constructor <init>(Lz5/lq0;Landroid/app/Activity;Lz5/q51;Lz5/lu0;Ljava/lang/String;Lcom/google/android/gms/ads/internal/util/zzbu;Ljava/lang/String;Landroid/content/res/Resources;Lcom/google/android/gms/ads/internal/overlay/zzl;)V
    .registers 10

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

    iput-object p1, p0, Lz5/mu0;->r:Lz5/lq0;

    iput-object p2, p0, Lz5/mu0;->s:Landroid/app/Activity;

    iput-object p3, p0, Lz5/mu0;->t:Lz5/q51;

    iput-object p4, p0, Lz5/mu0;->u:Lz5/lu0;

    iput-object p5, p0, Lz5/mu0;->v:Ljava/lang/String;

    iput-object p6, p0, Lz5/mu0;->w:Lcom/google/android/gms/ads/internal/util/zzbu;

    iput-object p7, p0, Lz5/mu0;->x:Ljava/lang/String;

    iput-object p8, p0, Lz5/mu0;->y:Landroid/content/res/Resources;

    iput-object p9, p0, Lz5/mu0;->z:Lcom/google/android/gms/ads/internal/overlay/zzl;

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/content/DialogInterface;I)V
    .registers 21

    move-object/from16 v1, p0

    iget-object v9, v1, Lz5/mu0;->r:Lz5/lq0;

    iget-object v10, v1, Lz5/mu0;->s:Landroid/app/Activity;

    iget-object v11, v1, Lz5/mu0;->t:Lz5/q51;

    iget-object v12, v1, Lz5/mu0;->u:Lz5/lu0;

    iget-object v13, v1, Lz5/mu0;->v:Ljava/lang/String;

    iget-object v0, v1, Lz5/mu0;->w:Lcom/google/android/gms/ads/internal/util/zzbu;

    iget-object v14, v1, Lz5/mu0;->x:Ljava/lang/String;

    iget-object v15, v1, Lz5/mu0;->y:Landroid/content/res/Resources;

    iget-object v8, v1, Lz5/mu0;->z:Lcom/google/android/gms/ads/internal/overlay/zzl;

    if-eqz v9, :cond_34

    new-instance v7, Ljava/util/HashMap;

    invoke-direct {v7}, Ljava/util/HashMap;-><init>()V

    const-string v2, "dialog_action"

    const-string v3, "confirm"

    invoke-virtual {v7, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v16, "dialog_click"

    move-object v2, v10

    move-object v3, v9

    move-object v4, v11

    move-object v5, v12

    move-object v6, v13

    move-object/from16 v17, v7

    move-object/from16 v7, v16

    move-object v1, v8

    move-object/from16 v8, v17

    invoke-static/range {v2 .. v8}, Lz5/ru0;->I2(Landroid/content/Context;Lz5/lq0;Lz5/q51;Lz5/lu0;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V

    goto :goto_35

    :cond_34
    move-object v1, v8

    .line 1
    :goto_35
    :try_start_35
    new-instance v2, Lx5/b;

    invoke-direct {v2, v10}, Lx5/b;-><init>(Ljava/lang/Object;)V

    .line 2
    invoke-interface {v0, v2, v14, v13}, Lcom/google/android/gms/ads/internal/util/zzbu;->zze(Lx5/a;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v0
    :try_end_3e
    .catch Landroid/os/RemoteException; {:try_start_35 .. :try_end_3e} :catch_41

    if-nez v0, :cond_56

    goto :goto_47

    :catch_41
    move-exception v0

    const-string v2, "Failed to schedule offline notification poster."

    invoke-static {v2, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_47
    invoke-virtual {v12, v13}, Lz5/lu0;->e(Ljava/lang/String;)V

    if-eqz v9, :cond_56

    const-string v7, "offline_notification_worker_not_scheduled"

    move-object v2, v10

    move-object v3, v9

    move-object v4, v11

    move-object v5, v12

    move-object v6, v13

    invoke-static/range {v2 .. v7}, Lz5/ru0;->H2(Landroid/content/Context;Lz5/lq0;Lz5/q51;Lz5/lu0;Ljava/lang/String;Ljava/lang/String;)V

    :cond_56
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzc()Lcom/google/android/gms/ads/internal/util/zzs;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zze()Lcom/google/android/gms/ads/internal/util/zzad;

    move-result-object v0

    new-instance v2, Landroid/app/AlertDialog$Builder;

    invoke-virtual {v0}, Lcom/google/android/gms/ads/internal/util/zzad;->zzm()I

    move-result v0

    invoke-direct {v2, v10, v0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;I)V

    if-nez v15, :cond_6b

    const-string v0, "You\'ll get a notification with the link when you\'re back online"

    goto :goto_71

    :cond_6b
    sget v0, Lcom/google/android/gms/ads/impl/R$string;->offline_opt_in_confirmation:I

    invoke-virtual {v15, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_71
    invoke-virtual {v2, v0}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v3, Lz5/pu0;

    invoke-direct {v3, v1}, Lz5/pu0;-><init>(Lcom/google/android/gms/ads/internal/overlay/zzl;)V

    invoke-virtual {v0, v3}, Landroid/app/AlertDialog$Builder;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/AlertDialog$Builder;

    invoke-virtual {v2}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    new-instance v2, Ljava/util/Timer;

    invoke-direct {v2}, Ljava/util/Timer;-><init>()V

    new-instance v3, Lz5/qu0;

    invoke-direct {v3, v0, v2, v1}, Lz5/qu0;-><init>(Landroid/app/AlertDialog;Ljava/util/Timer;Lcom/google/android/gms/ads/internal/overlay/zzl;)V

    const-wide/16 v0, 0xbb8

    invoke-virtual {v2, v3, v0, v1}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;J)V

    return-void
.end method
