remove some markers
Reviewed By: fkgozali Differential Revision: D5196382 fbshipit-source-id: b12b56a7f7d1c4309ebcb61e840cc570d87acf3b
This commit is contained in:
parent
152dbcbb71
commit
ce52f404f2
|
@ -20,17 +20,17 @@ import com.facebook.react.bridge.ModuleSpec;
|
||||||
import com.facebook.react.bridge.NativeModule;
|
import com.facebook.react.bridge.NativeModule;
|
||||||
import com.facebook.react.bridge.ReactApplicationContext;
|
import com.facebook.react.bridge.ReactApplicationContext;
|
||||||
import com.facebook.react.bridge.ReactMarker;
|
import com.facebook.react.bridge.ReactMarker;
|
||||||
import com.facebook.react.bridge.ReactMarkerConstants;
|
|
||||||
import com.facebook.react.common.build.ReactBuildConfig;
|
import com.facebook.react.common.build.ReactBuildConfig;
|
||||||
import com.facebook.react.devsupport.HMRClient;
|
import com.facebook.react.devsupport.HMRClient;
|
||||||
import com.facebook.react.devsupport.JSCHeapCapture;
|
import com.facebook.react.devsupport.JSCHeapCapture;
|
||||||
import com.facebook.react.devsupport.JSCSamplingProfiler;
|
import com.facebook.react.devsupport.JSCSamplingProfiler;
|
||||||
import com.facebook.react.module.annotations.ReactModuleList;
|
import com.facebook.react.module.annotations.ReactModuleList;
|
||||||
import com.facebook.react.module.model.ReactModuleInfoProvider;
|
import com.facebook.react.module.model.ReactModuleInfoProvider;
|
||||||
import com.facebook.react.modules.core.HeadlessJsTaskSupportModule;
|
import com.facebook.react.modules.appregistry.AppRegistry;
|
||||||
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
|
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
|
||||||
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
||||||
import com.facebook.react.modules.core.ExceptionsManagerModule;
|
import com.facebook.react.modules.core.ExceptionsManagerModule;
|
||||||
|
import com.facebook.react.modules.core.HeadlessJsTaskSupportModule;
|
||||||
import com.facebook.react.modules.core.JSTimersExecution;
|
import com.facebook.react.modules.core.JSTimersExecution;
|
||||||
import com.facebook.react.modules.core.RCTNativeAppEventEmitter;
|
import com.facebook.react.modules.core.RCTNativeAppEventEmitter;
|
||||||
import com.facebook.react.modules.core.Timing;
|
import com.facebook.react.modules.core.Timing;
|
||||||
|
@ -38,7 +38,6 @@ import com.facebook.react.modules.debug.AnimationsDebugModule;
|
||||||
import com.facebook.react.modules.debug.SourceCodeModule;
|
import com.facebook.react.modules.debug.SourceCodeModule;
|
||||||
import com.facebook.react.modules.deviceinfo.DeviceInfoModule;
|
import com.facebook.react.modules.deviceinfo.DeviceInfoModule;
|
||||||
import com.facebook.react.modules.systeminfo.AndroidInfoModule;
|
import com.facebook.react.modules.systeminfo.AndroidInfoModule;
|
||||||
import com.facebook.react.modules.appregistry.AppRegistry;
|
|
||||||
import com.facebook.react.uimanager.UIImplementationProvider;
|
import com.facebook.react.uimanager.UIImplementationProvider;
|
||||||
import com.facebook.react.uimanager.UIManagerModule;
|
import com.facebook.react.uimanager.UIManagerModule;
|
||||||
import com.facebook.react.uimanager.ViewManager;
|
import com.facebook.react.uimanager.ViewManager;
|
||||||
|
@ -210,14 +209,8 @@ import static com.facebook.react.bridge.ReactMarkerConstants.PROCESS_CORE_REACT_
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ReactModuleInfoProvider getReactModuleInfoProvider() {
|
public ReactModuleInfoProvider getReactModuleInfoProvider() {
|
||||||
ReactMarker.logMarker(
|
|
||||||
ReactMarkerConstants.CORE_REACT_PACKAGE_GET_REACT_MODULE_INFO_PROVIDER_START);
|
|
||||||
// This has to be done via reflection or we break open source.
|
// This has to be done via reflection or we break open source.
|
||||||
ReactModuleInfoProvider reactModuleInfoProvider =
|
return LazyReactPackage.getReactModuleInfoProviderViaReflection(this);
|
||||||
LazyReactPackage.getReactModuleInfoProviderViaReflection(this);
|
|
||||||
ReactMarker.logMarker(
|
|
||||||
ReactMarkerConstants.CORE_REACT_PACKAGE_GET_REACT_MODULE_INFO_PROVIDER_END);
|
|
||||||
return reactModuleInfoProvider;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private UIManagerModule createUIManager(ReactApplicationContext reactContext) {
|
private UIManagerModule createUIManager(ReactApplicationContext reactContext) {
|
||||||
|
|
|
@ -32,8 +32,6 @@ public enum ReactMarkerConstants {
|
||||||
CREATE_MODULE_END,
|
CREATE_MODULE_END,
|
||||||
PROCESS_CORE_REACT_PACKAGE_START,
|
PROCESS_CORE_REACT_PACKAGE_START,
|
||||||
PROCESS_CORE_REACT_PACKAGE_END,
|
PROCESS_CORE_REACT_PACKAGE_END,
|
||||||
CORE_REACT_PACKAGE_GET_REACT_MODULE_INFO_PROVIDER_START,
|
|
||||||
CORE_REACT_PACKAGE_GET_REACT_MODULE_INFO_PROVIDER_END,
|
|
||||||
UI_MANAGER_MODULE_CONSTANTS_CONVERT_START,
|
UI_MANAGER_MODULE_CONSTANTS_CONVERT_START,
|
||||||
UI_MANAGER_MODULE_CONSTANTS_CONVERT_END,
|
UI_MANAGER_MODULE_CONSTANTS_CONVERT_END,
|
||||||
CREATE_I18N_MODULE_CONSTANTS_START,
|
CREATE_I18N_MODULE_CONSTANTS_START,
|
||||||
|
|
Loading…
Reference in New Issue