Enable Starting Sampling profile at App Startup

Summary: In Dev Settings, we used to have an `Start Sampling Profiler on init` option, which was defunct. This diff re-enables that option. We can now start the Sampling Profiler on app start

Reviewed By: yinghuitan

Differential Revision: D7022382

fbshipit-source-id: 1db85d8a324e401c71187ba5871a91abcc18acf9
This commit is contained in:
Ram N authored and Facebook Github Bot committed 2019-07-31 13:54:23 -07:00
1 parent 14edd5d634
commit bc2b52d22c
5 files changed
+79 -55

No files matched your search

@@ -47,4 +47,9 @@ public class ReactSettingsForTests implements DeveloperSettings {
@Override
public void setRemoteJSDebugEnabled(boolean remoteJSDebugEnabled) {}
@Override
public boolean isStartSamplingProfilerOnInit() {
return false;
}
}