UpdateEventEmitterMountItem.smali

.class public Lcom/facebook/react/fabric/mounting/mountitems/UpdateEventEmitterMountItem;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/facebook/react/fabric/mounting/mountitems/MountItem;


# instance fields
.field private final mEventHandler:Lcom/facebook/react/fabric/events/EventEmitterWrapper;

.field private final mReactTag:I


# direct methods
.method public constructor <init>(ILcom/facebook/react/fabric/events/EventEmitterWrapper;)V
    .registers 3

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

    .line 2
    iput p1, p0, Lcom/facebook/react/fabric/mounting/mountitems/UpdateEventEmitterMountItem;->mReactTag:I

    .line 3
    iput-object p2, p0, Lcom/facebook/react/fabric/mounting/mountitems/UpdateEventEmitterMountItem;->mEventHandler:Lcom/facebook/react/fabric/events/EventEmitterWrapper;

    return-void
.end method


# virtual methods
.method public execute(Lcom/facebook/react/fabric/mounting/MountingManager;)V
    .registers 4

    iget v0, p0, Lcom/facebook/react/fabric/mounting/mountitems/UpdateEventEmitterMountItem;->mReactTag:I

    iget-object v1, p0, Lcom/facebook/react/fabric/mounting/mountitems/UpdateEventEmitterMountItem;->mEventHandler:Lcom/facebook/react/fabric/events/EventEmitterWrapper;

    invoke-virtual {p1, v0, v1}, Lcom/facebook/react/fabric/mounting/MountingManager;->updateEventEmitter(ILcom/facebook/react/fabric/events/EventEmitterWrapper;)V

    return-void
.end method

.method public toString()Ljava/lang/String;
    .registers 4

    const-string v0, "UpdateEventEmitterMountItem ["

    .line 1
    invoke-static {v0}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 2
    iget v1, p0, Lcom/facebook/react/fabric/mounting/mountitems/UpdateEventEmitterMountItem;->mReactTag:I

    const-string v2, "]"

    .line 3
    invoke-static {v0, v1, v2}, Landroidx/biometric/d0;->b(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method