Skip to content

Commit ccb9edc

Browse files
cortinicofacebook-github-bot
authored andcommitted
Remove deprecated isStartSamplingProfilerOnInit from DeveloperSettings (#52405)
Summary: Pull Request resolved: #52405 This field has been deprecated since RN 0.77, we can safely remove it ahead of the branch cut. Changelog: [Android] [Removed] - Remove deprecated `isStartSamplingProfilerOnInit` from `DeveloperSettings` Reviewed By: mdvacca, javache Differential Revision: D77734913 fbshipit-source-id: 231ecb360921d48ec941a3a214e73b4b89446c13
1 parent f2ecb7e commit ccb9edc

3 files changed

Lines changed: 0 additions & 11 deletions

File tree

packages/react-native/ReactAndroid/api/ReactAndroid.api

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2737,15 +2737,13 @@ public abstract interface class com/facebook/react/modules/debug/interfaces/Deve
27372737
public abstract fun isHotModuleReplacementEnabled ()Z
27382738
public abstract fun isJSDevModeEnabled ()Z
27392739
public abstract fun isJSMinifyEnabled ()Z
2740-
public abstract fun isStartSamplingProfilerOnInit ()Z
27412740
public abstract fun setAnimationFpsDebugEnabled (Z)V
27422741
public abstract fun setDeviceDebugEnabled (Z)V
27432742
public abstract fun setElementInspectorEnabled (Z)V
27442743
public abstract fun setFpsDebugEnabled (Z)V
27452744
public abstract fun setHotModuleReplacementEnabled (Z)V
27462745
public abstract fun setJSDevModeEnabled (Z)V
27472746
public abstract fun setJSMinifyEnabled (Z)V
2748-
public abstract fun setStartSamplingProfilerOnInit (Z)V
27492747
}
27502748

27512749
public final class com/facebook/react/modules/dialog/AlertFragment : androidx/fragment/app/DialogFragment, android/content/DialogInterface$OnClickListener {

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevInternalSettings.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ internal class DevInternalSettings(applicationContext: Context, private val list
7575

7676
override var isDeviceDebugEnabled: Boolean = ReactBuildConfig.DEBUG
7777

78-
@Deprecated(
79-
"Legacy sampling profiler is no longer supported - This field will be removed in React Native 0.77")
80-
override var isStartSamplingProfilerOnInit: Boolean = false
81-
8278
// Not supported.
8379
override fun addMenuItem(title: String) = Unit
8480

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/interfaces/DeveloperSettings.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ public interface DeveloperSettings {
3232
/** Whether Nuclide JS debugging is enabled. */
3333
public var isDeviceDebugEnabled: Boolean
3434

35-
/** Whether Start Sampling Profiler on App Start is enabled. */
36-
@Deprecated(
37-
"Legacy sampling profiler is no longer supported - This field will be removed in React Native 0.77")
38-
public var isStartSamplingProfilerOnInit: Boolean
39-
4035
/** Whether HMR is enabled. */
4136
public var isHotModuleReplacementEnabled: Boolean
4237

0 commit comments

Comments
 (0)