SchedulingModule.smali
.class public abstract Lcom/google/android/datatransport/runtime/scheduling/SchedulingModule;
.super Ljava/lang/Object;
.source "com.google.android.datatransport:transport-runtime@@2.2.0"
# annotations
.annotation runtime Ldagger/Module;
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 31
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static workScheduler(Landroid/content/Context;Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStore;Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/SchedulerConfig;Lcom/google/android/datatransport/runtime/time/Clock;)Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/WorkScheduler;
.registers 6
.param p0, "context" # Landroid/content/Context;
.param p1, "eventStore" # Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStore;
.param p2, "config" # Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/SchedulerConfig;
.param p3, "clock" # Lcom/google/android/datatransport/runtime/time/Clock;
.annotation runtime Ldagger/Provides;
.end annotation
.line 35
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_c
.line 36
new-instance v0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/JobInfoScheduler;
invoke-direct {v0, p0, p1, p2}, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/JobInfoScheduler;-><init>(Landroid/content/Context;Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStore;Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/SchedulerConfig;)V
return-object v0
.line 38
:cond_c
new-instance v0, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/AlarmManagerScheduler;
invoke-direct {v0, p0, p1, p3, p2}, Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/AlarmManagerScheduler;-><init>(Landroid/content/Context;Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStore;Lcom/google/android/datatransport/runtime/time/Clock;Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/SchedulerConfig;)V
return-object v0
.end method
# virtual methods
.method abstract scheduler(Lcom/google/android/datatransport/runtime/scheduling/DefaultScheduler;)Lcom/google/android/datatransport/runtime/scheduling/Scheduler;
.annotation runtime Ldagger/Binds;
.end annotation
.end method