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
2019-07-31 13:46:30 -07:00
committed by Facebook Github Bot
parent 14edd5d634
commit bc2b52d22c
5 changed files with 79 additions and 55 deletions
@@ -47,4 +47,9 @@ public class ReactSettingsForTests implements DeveloperSettings {
@Override
public void setRemoteJSDebugEnabled(boolean remoteJSDebugEnabled) {}
@Override
public boolean isStartSamplingProfilerOnInit() {
return false;
}
}