LogBoxModule$4.smali

.class Lcom/facebook/react/devsupport/LogBoxModule$4;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/facebook/react/devsupport/LogBoxModule;->onCatalystInstanceDestroy()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = null
.end annotation


# instance fields
.field public final synthetic this$0:Lcom/facebook/react/devsupport/LogBoxModule;


# direct methods
.method public constructor <init>(Lcom/facebook/react/devsupport/LogBoxModule;)V
    .registers 2

    iput-object p1, p0, Lcom/facebook/react/devsupport/LogBoxModule$4;->this$0:Lcom/facebook/react/devsupport/LogBoxModule;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 7

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v1

    if-ne v0, v1, :cond_c

    const/4 v0, 0x1

    goto :goto_d

    :cond_c
    const/4 v0, 0x0

    :goto_d
    const-string v1, "runnable"

    const-string v2, "com/facebook/react/devsupport/LogBoxModule$4"

    const-string v3, "run"

    if-eqz v0, :cond_18

    invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 1
    :cond_18
    iget-object v4, p0, Lcom/facebook/react/devsupport/LogBoxModule$4;->this$0:Lcom/facebook/react/devsupport/LogBoxModule;

    # getter for: Lcom/facebook/react/devsupport/LogBoxModule;->mReactRootView:Landroid/view/View;
    invoke-static {v4}, Lcom/facebook/react/devsupport/LogBoxModule;->access$000(Lcom/facebook/react/devsupport/LogBoxModule;)Landroid/view/View;

    move-result-object v4

    if-eqz v4, :cond_35

    .line 2
    iget-object v4, p0, Lcom/facebook/react/devsupport/LogBoxModule$4;->this$0:Lcom/facebook/react/devsupport/LogBoxModule;

    # getter for: Lcom/facebook/react/devsupport/LogBoxModule;->mDevSupportManager:Lcom/facebook/react/devsupport/interfaces/DevSupportManager;
    invoke-static {v4}, Lcom/facebook/react/devsupport/LogBoxModule;->access$100(Lcom/facebook/react/devsupport/LogBoxModule;)Lcom/facebook/react/devsupport/interfaces/DevSupportManager;

    move-result-object v4

    iget-object v5, p0, Lcom/facebook/react/devsupport/LogBoxModule$4;->this$0:Lcom/facebook/react/devsupport/LogBoxModule;

    # getter for: Lcom/facebook/react/devsupport/LogBoxModule;->mReactRootView:Landroid/view/View;
    invoke-static {v5}, Lcom/facebook/react/devsupport/LogBoxModule;->access$000(Lcom/facebook/react/devsupport/LogBoxModule;)Landroid/view/View;

    move-result-object v5

    invoke-interface {v4, v5}, Lcom/facebook/react/devsupport/interfaces/DevSupportManager;->destroyRootView(Landroid/view/View;)V

    .line 3
    iget-object v4, p0, Lcom/facebook/react/devsupport/LogBoxModule$4;->this$0:Lcom/facebook/react/devsupport/LogBoxModule;

    const/4 v5, 0x0

    # setter for: Lcom/facebook/react/devsupport/LogBoxModule;->mReactRootView:Landroid/view/View;
    invoke-static {v4, v5}, Lcom/facebook/react/devsupport/LogBoxModule;->access$002(Lcom/facebook/react/devsupport/LogBoxModule;Landroid/view/View;)Landroid/view/View;

    :cond_35
    if-eqz v0, :cond_3a

    .line 4
    invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_3a
    return-void
.end method