mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deprecate DeveloperSettings.isStartSamplingProfilerOnInit (#45442)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45442 This deprecates also `DeveloperSettings.isStartSamplingProfilerOnInit` so we can remove it in a future version of React Native. This field is unused so you should not be using it at all. Changelog: [Android] [Changed] - Deprecate DeveloperSettings.isStartSamplingProfilerOnInit Reviewed By: blakef Differential Revision: D59757500 fbshipit-source-id: dc879ba46f2f937e5f259a4101646c2f060db548
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8f27188037
commit
52237838dc
+2
-1
@@ -81,7 +81,8 @@ internal class DevInternalSettings(applicationContext: Context, private val list
|
||||
preferences.edit().putBoolean(PREFS_REMOTE_JS_DEBUG_KEY, value).apply()
|
||||
}
|
||||
|
||||
@Deprecated("Legacy sampling profiler is no longer supported")
|
||||
@Deprecated(
|
||||
"Legacy sampling profiler is no longer supported - This field will be removed in React Native 0.77")
|
||||
override var isStartSamplingProfilerOnInit: Boolean = false
|
||||
|
||||
// Not supported.
|
||||
|
||||
+2
@@ -36,6 +36,8 @@ public interface DeveloperSettings {
|
||||
public var isRemoteJSDebugEnabled: Boolean
|
||||
|
||||
/** Whether Start Sampling Profiler on App Start is enabled. */
|
||||
@Deprecated(
|
||||
"Legacy sampling profiler is no longer supported - This field will be removed in React Native 0.77")
|
||||
public var isStartSamplingProfilerOnInit: Boolean
|
||||
|
||||
/** Whether HMR is enabled. */
|
||||
|
||||
Reference in New Issue
Block a user