mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Convert ReactFeatureFlags to Kotlin (#47260)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47260 Convert ReactFeatureFlags to Kotlin changeLog: [Android][Changed] Migrate ReactFeatureFlags to Kotlin Reviewed By: shwanton, javache Differential Revision: D65070217 fbshipit-source-id: 8939326c1e1e7cd634347a58123ad8c0795c309e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
03797dda03
commit
4076dbfc86
@@ -2025,9 +2025,9 @@ public final class com/facebook/react/common/network/OkHttpCallUtil {
|
||||
public static final fun cancelTag (Lokhttp3/OkHttpClient;Ljava/lang/Object;)V
|
||||
}
|
||||
|
||||
public class com/facebook/react/config/ReactFeatureFlags {
|
||||
public final class com/facebook/react/config/ReactFeatureFlags {
|
||||
public static final field INSTANCE Lcom/facebook/react/config/ReactFeatureFlags;
|
||||
public static field dispatchPointerEvents Z
|
||||
public fun <init> ()V
|
||||
}
|
||||
|
||||
public final class com/facebook/react/defaults/DefaultComponentsRegistry {
|
||||
|
||||
+7
-9
@@ -5,22 +5,20 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.config;
|
||||
package com.facebook.react.config
|
||||
|
||||
import com.facebook.infer.annotation.Nullsafe;
|
||||
import com.facebook.proguard.annotations.DoNotStripAny;
|
||||
import com.facebook.proguard.annotations.DoNotStripAny
|
||||
import kotlin.jvm.JvmField
|
||||
|
||||
/**
|
||||
* Hi there, traveller! This configuration class is not meant to be used by end-users of RN. It
|
||||
* contains mainly flags for features that are either under active development and not ready for
|
||||
* public consumption, or for use in experiments.
|
||||
*
|
||||
* <p>These values are safe defaults and should not require manual changes.
|
||||
* These values are safe defaults and should not require manual changes.
|
||||
*/
|
||||
@Nullsafe(Nullsafe.Mode.LOCAL)
|
||||
@Deprecated(since = "Use com.facebook.react.internal.featureflags.ReactNativeFeatureFlags instead.")
|
||||
@Deprecated("Use com.facebook.react.internal.featureflags.ReactNativeFeatureFlags instead.")
|
||||
@DoNotStripAny
|
||||
public class ReactFeatureFlags {
|
||||
|
||||
public static boolean dispatchPointerEvents = false;
|
||||
public object ReactFeatureFlags {
|
||||
@JvmField public var dispatchPointerEvents: Boolean = false
|
||||
}
|
||||
Reference in New Issue
Block a user