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 NativeI18nManagerSpec extends ReactContextBaseJavaModule implements TurboModule {
public static final String NAME = "I18nManager";
public NativeI18nManagerSpec(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@ReactMethod
public abstract void allowRTL(boolean z3);
@ReactMethod
public abstract void forceRTL(boolean z3);
@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("doLeftAndRightSwapInRTL", "isRTL"));
HashSet hashSet2 = new HashSet(Arrays.asList("localeIdentifier"));
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 "I18nManager";
}
protected abstract Map<String, Object> getTypedExportedConstants();
@ReactMethod
public abstract void swapLeftAndRightInRTL(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