g.smali
.class public final synthetic Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic a:Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;
.field public final synthetic b:Lcom/google/android/datatransport/runtime/q;
.field public final synthetic c:I
.field public final synthetic d:Ljava/lang/Runnable;
# direct methods
.method public synthetic constructor <init>(Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;Lcom/google/android/datatransport/runtime/q;ILjava/lang/Runnable;)V
.registers 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->a:Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;
iput-object p2, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->b:Lcom/google/android/datatransport/runtime/q;
iput p3, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->c:I
iput-object p4, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->d:Ljava/lang/Runnable;
return-void
.end method
# virtual methods
.method public final run()V
.registers 9
iget-object v0, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->a:Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;
iget-object v1, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->b:Lcom/google/android/datatransport/runtime/q;
iget v2, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->c:I
iget-object v3, p0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/g;->d:Ljava/lang/Runnable;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
const/4 v4, 0x1
.line 1
:try_start_c
iget-object v5, v0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;->f:Lcom/google/android/datatransport/runtime/synchronization/b;
iget-object v6, v0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;->c:Lcom/google/android/datatransport/runtime/scheduling/persistence/d;
invoke-static {v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
new-instance v7, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/k;
invoke-direct {v7, v6}, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/k;-><init>(Ljava/lang/Object;)V
invoke-interface {v5, v7}, Lcom/google/android/datatransport/runtime/synchronization/b;->n(Lcom/google/android/datatransport/runtime/synchronization/b$a;)Ljava/lang/Object;
.line 2
iget-object v5, v0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;->a:Landroid/content/Context;
const-string v6, "connectivity"
.line 3
invoke-virtual {v5, v6}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Landroid/net/ConnectivityManager;
.line 4
invoke-virtual {v5}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
move-result-object v5
if-eqz v5, :cond_33
.line 5
invoke-virtual {v5}, Landroid/net/NetworkInfo;->isConnected()Z
move-result v5
if-eqz v5, :cond_33
const/4 v5, 0x1
goto :goto_34
:cond_33
const/4 v5, 0x0
:goto_34
if-nez v5, :cond_41
.line 6
iget-object v5, v0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;->f:Lcom/google/android/datatransport/runtime/synchronization/b;
new-instance v6, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/h;
invoke-direct {v6, v0, v1, v2}, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/h;-><init>(Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;Lcom/google/android/datatransport/runtime/q;I)V
invoke-interface {v5, v6}, Lcom/google/android/datatransport/runtime/synchronization/b;->n(Lcom/google/android/datatransport/runtime/synchronization/b$a;)Ljava/lang/Object;
goto :goto_4d
.line 7
:cond_41
invoke-virtual {v0, v1, v2}, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;->a(Lcom/google/android/datatransport/runtime/q;I)Lcom/google/android/datatransport/runtime/backends/g;
:try_end_44
.catch Lcom/google/android/datatransport/runtime/synchronization/a; {:try_start_c .. :try_end_44} :catch_47
.catchall {:try_start_c .. :try_end_44} :catchall_45
goto :goto_4d
:catchall_45
move-exception v0
goto :goto_51
.line 8
:catch_47
:try_start_47
iget-object v0, v0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/q;->d:Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/u;
add-int/2addr v2, v4
invoke-interface {v0, v1, v2}, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/u;->b(Lcom/google/android/datatransport/runtime/q;I)V
:try_end_4d
.catchall {:try_start_47 .. :try_end_4d} :catchall_45
.line 9
:goto_4d
invoke-interface {v3}, Ljava/lang/Runnable;->run()V
return-void
:goto_51
invoke-interface {v3}, Ljava/lang/Runnable;->run()V
.line 10
throw v0
.end method