.class public Lcom/singular/sdk/internal/ApiManager$1; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/singular/sdk/internal/ApiManager;->tryMigrateEventsFromOldSQLiteQueue()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field public final synthetic this$0:Lcom/singular/sdk/internal/ApiManager; # direct methods .method public constructor (Lcom/singular/sdk/internal/ApiManager;)V .locals 0 iput-object p1, p0, Lcom/singular/sdk/internal/ApiManager$1;->this$0:Lcom/singular/sdk/internal/ApiManager; .line 72 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public run()V .locals 3 .line 76 :try_start_0 new-instance v0, Lcom/singular/sdk/internal/OfflineEventsMigrator; iget-object v1, p0, Lcom/singular/sdk/internal/ApiManager$1;->this$0:Lcom/singular/sdk/internal/ApiManager; iget-object v1, v1, Lcom/singular/sdk/internal/ApiManager;->context:Landroid/content/Context; invoke-direct {v0, v1}, Lcom/singular/sdk/internal/OfflineEventsMigrator;->(Landroid/content/Context;)V .line 77 invoke-virtual {v0}, Lcom/singular/sdk/internal/OfflineEventsMigrator;->migrate()V :try_end_0 .catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_2 :catch_0 move-exception v0 goto :goto_0 :catch_1 move-exception v0 goto :goto_1 .line 81 :goto_0 invoke-static {}, Lcom/singular/sdk/internal/ApiManager;->access$000()Lcom/singular/sdk/internal/SingularLog; move-result-object v1 const-string v2, "migrateEventsFromOldSQLiteQueue: Exception" invoke-virtual {v1, v2, v0}, Lcom/singular/sdk/internal/SingularLog;->error(Ljava/lang/String;Ljava/lang/Throwable;)I goto :goto_2 .line 79 :goto_1 invoke-static {}, Lcom/singular/sdk/internal/ApiManager;->access$000()Lcom/singular/sdk/internal/SingularLog; move-result-object v1 const-string v2, "migrateEventsFromOldSQLiteQueue: RuntimeException" invoke-virtual {v1, v2, v0}, Lcom/singular/sdk/internal/SingularLog;->error(Ljava/lang/String;Ljava/lang/Throwable;)I :goto_2 return-void .end method