NetMirror.apk
Download file
package com.facebook.react.runtime;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import com.facebook.react.bridge.JavaScriptExecutorFactory;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.modules.core.DeviceEventManagerModule;
/* JADX INFO: loaded from: classes.dex */
public final class W implements com.facebook.react.devsupport.c0 {
/* JADX INFO: renamed from: a, reason: collision with root package name */
private final ReactHostImpl f7146a;
public W(ReactHostImpl reactHostImpl) {
D2.h.f(reactHostImpl, "delegate");
this.f7146a = reactHostImpl;
}
@Override // com.facebook.react.devsupport.c0
public View a(String str) {
D2.h.f(str, "appKey");
Activity activityI = i();
if (activityI == null || this.f7146a.C0(str)) {
return null;
}
e0 e0VarF = e0.f(activityI, str, new Bundle());
D2.h.e(e0VarF, "createWithView(...)");
e0VarF.c(this.f7146a);
e0VarF.start();
return e0VarF.a();
}
@Override // com.facebook.react.devsupport.c0
public void b(View view) {
D2.h.f(view, "rootView");
}
@Override // com.facebook.react.devsupport.c0
public void h() {
DeviceEventManagerModule.RCTDeviceEventEmitter rCTDeviceEventEmitter;
ReactContext reactContextF0 = this.f7146a.f0();
if (reactContextF0 == null || (rCTDeviceEventEmitter = (DeviceEventManagerModule.RCTDeviceEventEmitter) reactContextF0.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)) == null) {
return;
}
rCTDeviceEventEmitter.emit("toggleElementInspector", null);
}
@Override // com.facebook.react.devsupport.c0
public Activity i() {
return this.f7146a.l0();
}
@Override // com.facebook.react.devsupport.c0
public void j(String str) {
D2.h.f(str, "s");
this.f7146a.x1(str);
}
@Override // com.facebook.react.devsupport.c0
public JavaScriptExecutorFactory k() {
throw new IllegalStateException("Not implemented for bridgeless mode");
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file