UIManagerModule$3.smali

.class Lcom/facebook/react/uimanager/UIManagerModule$3;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/facebook/react/uimanager/UIManagerModule;->updateView(ILjava/lang/String;Lcom/facebook/react/bridge/ReadableMap;)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/uimanager/UIManagerModule;

.field public final synthetic val$fabricUIManager:Lcom/facebook/react/bridge/UIManager;

.field public final synthetic val$props:Lcom/facebook/react/bridge/ReadableMap;

.field public final synthetic val$tag:I


# direct methods
.method public constructor <init>(Lcom/facebook/react/uimanager/UIManagerModule;Lcom/facebook/react/bridge/UIManager;ILcom/facebook/react/bridge/ReadableMap;)V
    .registers 5

    iput-object p1, p0, Lcom/facebook/react/uimanager/UIManagerModule$3;->this$0:Lcom/facebook/react/uimanager/UIManagerModule;

    iput-object p2, p0, Lcom/facebook/react/uimanager/UIManagerModule$3;->val$fabricUIManager:Lcom/facebook/react/bridge/UIManager;

    iput p3, p0, Lcom/facebook/react/uimanager/UIManagerModule$3;->val$tag:I

    iput-object p4, p0, Lcom/facebook/react/uimanager/UIManagerModule$3;->val$props:Lcom/facebook/react/bridge/ReadableMap;

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

    return-void
.end method


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

    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/uimanager/UIManagerModule$3"

    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/uimanager/UIManagerModule$3;->val$fabricUIManager:Lcom/facebook/react/bridge/UIManager;

    iget v5, p0, Lcom/facebook/react/uimanager/UIManagerModule$3;->val$tag:I

    iget-object v6, p0, Lcom/facebook/react/uimanager/UIManagerModule$3;->val$props:Lcom/facebook/react/bridge/ReadableMap;

    invoke-interface {v4, v5, v6}, Lcom/facebook/react/bridge/UIManager;->synchronouslyUpdateViewOnUIThread(ILcom/facebook/react/bridge/ReadableMap;)V

    if-eqz v0, :cond_26

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

    :cond_26
    return-void
.end method