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
7 changes: 4 additions & 3 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
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

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
}