mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-09 22:43:10 +08:00
Reviewed By: mhorowitz Differential Revision: D3306510 fbshipit-source-id: 312a498a4461e980f1f749fe7858a13be14dfa2f
23 lines
703 B
Java
23 lines
703 B
Java
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
package com.facebook.react;
|
|
|
|
import com.facebook.infer.annotation.Assertions;
|
|
import com.facebook.react.uimanager.UIImplementationProvider;
|
|
|
|
public abstract class XReactInstanceManager {
|
|
/**
|
|
* Creates a builder that is defaulted to using the new bridge.
|
|
*/
|
|
public static ReactInstanceManager.Builder builder() {
|
|
return new ReactInstanceManager.Builder().setUseNewBridge();
|
|
}
|
|
}
|