.class Lcom/google/firebase/database/android/AndroidPlatform$1; .super Lcom/google/firebase/database/core/utilities/DefaultRunLoop; .source "AndroidPlatform.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/google/firebase/database/android/AndroidPlatform;->newRunLoop(Lcom/google/firebase/database/core/Context;)Lcom/google/firebase/database/core/RunLoop; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field public final synthetic this$0:Lcom/google/firebase/database/android/AndroidPlatform; .field public final synthetic val$logger:Lcom/google/firebase/database/logging/LogWrapper; # direct methods .method public constructor (Lcom/google/firebase/database/android/AndroidPlatform;Lcom/google/firebase/database/logging/LogWrapper;)V .locals 0 .line 1 iput-object p1, p0, Lcom/google/firebase/database/android/AndroidPlatform$1;->this$0:Lcom/google/firebase/database/android/AndroidPlatform; iput-object p2, p0, Lcom/google/firebase/database/android/AndroidPlatform$1;->val$logger:Lcom/google/firebase/database/logging/LogWrapper; invoke-direct {p0}, Lcom/google/firebase/database/core/utilities/DefaultRunLoop;->()V return-void .end method # virtual methods .method public handleException(Ljava/lang/Throwable;)V .locals 3 .line 1 invoke-static {p1}, Lcom/google/firebase/database/core/utilities/DefaultRunLoop;->messageForException(Ljava/lang/Throwable;)Ljava/lang/String; move-result-object v0 .line 2 iget-object v1, p0, Lcom/google/firebase/database/android/AndroidPlatform$1;->val$logger:Lcom/google/firebase/database/logging/LogWrapper; invoke-virtual {v1, v0, p1}, Lcom/google/firebase/database/logging/LogWrapper;->error(Ljava/lang/String;Ljava/lang/Throwable;)V .line 3 new-instance v1, Landroid/os/Handler; iget-object v2, p0, Lcom/google/firebase/database/android/AndroidPlatform$1;->this$0:Lcom/google/firebase/database/android/AndroidPlatform; invoke-static {v2}, Lcom/google/firebase/database/android/AndroidPlatform;->access$000(Lcom/google/firebase/database/android/AndroidPlatform;)Landroid/content/Context; move-result-object v2 invoke-virtual {v2}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper; move-result-object v2 invoke-direct {v1, v2}, Landroid/os/Handler;->(Landroid/os/Looper;)V .line 4 new-instance v2, Lcom/google/firebase/database/android/AndroidPlatform$1$1; invoke-direct {v2, p0, v0, p1}, Lcom/google/firebase/database/android/AndroidPlatform$1$1;->(Lcom/google/firebase/database/android/AndroidPlatform$1;Ljava/lang/String;Ljava/lang/Throwable;)V invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z .line 5 invoke-virtual {p0}, Lcom/google/firebase/database/core/utilities/DefaultRunLoop;->getExecutorService()Ljava/util/concurrent/ScheduledExecutorService; move-result-object p1 invoke-interface {p1}, Ljava/util/concurrent/ScheduledExecutorService;->shutdownNow()Ljava/util/List; return-void .end method