Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -1727,10 +1727,10 @@ public final class com/facebook/react/common/MapBuilder$Builder {
public fun put (Ljava/lang/Object;Ljava/lang/Object;)Lcom/facebook/react/common/MapBuilder$Builder;
}

public class com/facebook/react/common/ReactConstants {
public final class com/facebook/react/common/ReactConstants {
public static final field INSTANCE Lcom/facebook/react/common/ReactConstants;
public static final field TAG Ljava/lang/String;
public static final field UNSET I
public fun <init> ()V
}

public class com/facebook/react/common/ShakeDetector : android/hardware/SensorEventListener {
Expand Down Expand Up @@ -2164,9 +2164,10 @@ public abstract interface class com/facebook/react/devsupport/HMRClient : com/fa
public abstract fun setup (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)V
}

public class com/facebook/react/devsupport/InspectorFlags {
public static fun getEnableCxxInspectorPackagerConnection ()Z
public static fun getEnableModernCDPRegistry ()Z
public final class com/facebook/react/devsupport/InspectorFlags {
public static final field INSTANCE Lcom/facebook/react/devsupport/InspectorFlags;
public static final fun getEnableCxxInspectorPackagerConnection ()Z
public static final fun getEnableModernCDPRegistry ()Z
}

public class com/facebook/react/devsupport/InspectorPackagerConnection : com/facebook/react/devsupport/IInspectorPackagerConnection {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,17 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.common;
package com.facebook.react.common

import com.facebook.infer.annotation.Nullsafe;
public object ReactConstants {

@Nullsafe(Nullsafe.Mode.LOCAL)
public class ReactConstants {

public static final String TAG = "ReactNative";
public const val TAG: String = "ReactNative"

/**
* Some types have built-in support for representing a "missing" or "unset" value, for example NaN
* in the case of floating point numbers or null in the case of object references. Integers don't
* have such a special value. When an integer represent an inherently non-negative value, we use a
* special negative value to mark it as "unset".
*/
public static final int UNSET = -1;
public const val UNSET: Int = -1
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.devsupport

import com.facebook.proguard.annotations.DoNotStrip

/** JNI wrapper for `jsinspector_modern::InspectorFlags`. */
@DoNotStrip
public object InspectorFlags {
init {
DevSupportSoLoader.staticInit()
}

@DoNotStrip @JvmStatic public external fun getEnableModernCDPRegistry(): Boolean

@DoNotStrip @JvmStatic public external fun getEnableCxxInspectorPackagerConnection(): Boolean
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.uimanager.layoutanimation;

import com.facebook.infer.annotation.Nullsafe;
package com.facebook.react.uimanager.layoutanimation

/**
* Class responsible for handling layout view creation animation, applied to view whenever a valid
* config was supplied for the layout animation of CREATE type.
*/
/* package */ @Nullsafe(Nullsafe.Mode.LOCAL)
class LayoutCreateAnimation extends BaseLayoutAnimation {
internal class LayoutCreateAnimation : BaseLayoutAnimation() {

@Override
boolean isReverse() {
return false;
}
override fun isReverse(): Boolean = false
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.uimanager.layoutanimation;

import com.facebook.infer.annotation.Nullsafe;
package com.facebook.react.uimanager.layoutanimation

/**
* Class responsible for handling layout view deletion animation, applied to view whenever a valid
* config was supplied for the layout animation of DELETE type.
*/
/* package */ @Nullsafe(Nullsafe.Mode.LOCAL)
class LayoutDeleteAnimation extends BaseLayoutAnimation {
internal class LayoutDeleteAnimation : BaseLayoutAnimation() {

@Override
boolean isReverse() {
return true;
}
override fun isReverse(): Boolean = true
}