NetMirror.apk
Download file
package com.facebook.fbreact.specs;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
import g1.C0542a;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Map;
/* JADX INFO: loaded from: classes.dex */
public abstract class NativeStatusBarManagerAndroidSpec extends ReactContextBaseJavaModule implements TurboModule {
public static final String NAME = "StatusBarManager";
public NativeStatusBarManagerAndroidSpec(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@Override // com.facebook.react.bridge.BaseJavaModule
public final Map<String, Object> getConstants() {
Map<String, Object> typedExportedConstants = getTypedExportedConstants();
if (C0542a.f9423b || C0542a.f9424c) {
HashSet hashSet = new HashSet(Arrays.asList("DEFAULT_BACKGROUND_COLOR", "HEIGHT"));
HashSet hashSet2 = new HashSet();
HashSet hashSet3 = new HashSet(typedExportedConstants.keySet());
hashSet3.removeAll(hashSet);
hashSet3.removeAll(hashSet2);
if (!hashSet3.isEmpty()) {
throw new IllegalStateException(String.format("Native Module Flow doesn't declare constants: %s", hashSet3));
}
hashSet.removeAll(typedExportedConstants.keySet());
if (!hashSet.isEmpty()) {
throw new IllegalStateException(String.format("Native Module doesn't fill in constants: %s", hashSet));
}
}
return typedExportedConstants;
}
@Override // com.facebook.react.bridge.NativeModule
public String getName() {
return "StatusBarManager";
}
protected abstract Map<String, Object> getTypedExportedConstants();
@ReactMethod
public abstract void setColor(double d4, boolean z3);
@ReactMethod
public abstract void setHidden(boolean z3);
@ReactMethod
public abstract void setStyle(String str);
@ReactMethod
public abstract void setTranslucent(boolean z3);
}
⚠️ 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