mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Reland: Make PerftestDevSupportManager internal (#49595)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49595 This is a reland of D69934544 which was previously reverted. Pull Request resolved: https://github.com/facebook/react-native/pull/49577 I'm making this class internal as I verified that there are no meaningful OSS usages. [Source](https://www.google.com/url?q=https://github.com/search?type%3Dcode%26q%3DNOT%2Bis%253Afork%2BNOT%2Borg%253Afacebook%2BNOT%2Brepo%253Areact-native-tvos%252Freact-native-tvos%2BNOT%2Brepo%253Anuagoz%252Freact-native%2BNOT%2Brepo%253A2lambda123%252Freact-native%2BNOT%2Brepo%253Abeanchips%252Ffacebookreactnative%2BNOT%2Brepo%253AfabOnReact%252Freact-native-notes%2BNOT%2Buser%253Ahuntie%2BNOT%2Buser%253Acortinico%2BNOT%2Brepo%253AMaxdev18%252Fpowersync_app%2BNOT%2Brepo%253Acarter-0%252Finstagram-decompiled%2BNOT%2Brepo%253Am0mosenpai%252Finstadamn%2BNOT%2Brepo%253AA-Star100%252FA-Star100-AUG2-2024%2BNOT%2Brepo%253Alclnrd%252Fdetox-scrollview-reproductible%2BNOT%2Brepo%253ADionisisChytiris%252FWorldWiseTrivia_Main%2BNOT%2Brepo%253Apast3l%252Fhi2%2BNOT%2Brepo%253AoneDotpy%252FCaribouQuest%2BNOT%2Brepo%253Abejayoharen%252Fdailytodo%2BNOT%2Brepo%253Amolangning%252Freversing-discord%2BNOT%2Brepo%253AScottPrzy%252Freact-native%2BNOT%2Brepo%253Agabrieldonadel%252Freact-native-visionos%2BNOT%2Brepo%253AGabriel2308%252FTestes-Soft%2BNOT%2Brepo%253Adawnzs03%252FflakyBuild%2BNOT%2Brepo%253Acga2351%252Fcode%2BNOT%2Brepo%253Astreeg%252Ftcc%2BNOT%2Brepo%253Asoftware-mansion-labs%252Freact-native-swiftui%2Bcom.facebook.react.devsupport.PerftestDevSupportManager&sa=D&source=editors&ust=1740080026490626&usg=AOvVaw2lrtsZSaLDgxSkejXVrRrp) Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D69988162 fbshipit-source-id: 475b509417c4e6974d62bab01c089588625fcd8c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8cc772da9a
commit
50878c248d
@@ -2157,13 +2157,6 @@ public final class com/facebook/react/devsupport/LogBoxModule : com/facebook/fbr
|
||||
public final class com/facebook/react/devsupport/LogBoxModule$Companion {
|
||||
}
|
||||
|
||||
public final class com/facebook/react/devsupport/PerftestDevSupportManager : com/facebook/react/devsupport/ReleaseDevSupportManager {
|
||||
public fun <init> (Landroid/content/Context;)V
|
||||
public fun getDevSettings ()Lcom/facebook/react/modules/debug/interfaces/DeveloperSettings;
|
||||
public fun startInspector ()V
|
||||
public fun stopInspector ()V
|
||||
}
|
||||
|
||||
public abstract interface class com/facebook/react/devsupport/ReactInstanceDevHelper {
|
||||
public abstract fun createRootView (Ljava/lang/String;)Landroid/view/View;
|
||||
public abstract fun destroyRootView (Landroid/view/View;)V
|
||||
|
||||
+2
-2
@@ -14,11 +14,11 @@ import com.facebook.react.modules.debug.interfaces.DeveloperSettings
|
||||
* Interface for accessing and interacting with development features related to performance testing.
|
||||
* Communication is enabled via the Inspector, but everything else is disabled.
|
||||
*/
|
||||
public class PerftestDevSupportManager(
|
||||
internal class PerftestDevSupportManager(
|
||||
applicationContext: Context,
|
||||
) : ReleaseDevSupportManager() {
|
||||
|
||||
public override val devSettings: DeveloperSettings =
|
||||
override val devSettings: DeveloperSettings =
|
||||
DevInternalSettings(
|
||||
applicationContext,
|
||||
object : DevInternalSettings.Listener {
|
||||
|
||||
Reference in New Issue
Block a user