Provide I18n Module in OSS 3/3
Summary: @public expose context for I18nManagerModule and I18nUtil Reviewed By: dmmiller Differential Revision: D3575706
This commit is contained in:
parent
da8759c610
commit
70fb45393e
|
@ -65,7 +65,12 @@ public class FlatUIImplementation extends UIImplementation {
|
|||
FlatUIViewOperationQueue operationsQueue = new FlatUIViewOperationQueue(
|
||||
reactContext,
|
||||
nativeViewHierarchyManager);
|
||||
return new FlatUIImplementation(reactImageManager, viewManagerRegistry, operationsQueue);
|
||||
return new FlatUIImplementation(
|
||||
reactContext,
|
||||
reactImageManager,
|
||||
viewManagerRegistry,
|
||||
operationsQueue
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -77,10 +82,11 @@ public class FlatUIImplementation extends UIImplementation {
|
|||
private @Nullable ReactImageManager mReactImageManager;
|
||||
|
||||
private FlatUIImplementation(
|
||||
ReactApplicationContext reactContext,
|
||||
@Nullable ReactImageManager reactImageManager,
|
||||
ViewManagerRegistry viewManagers,
|
||||
FlatUIViewOperationQueue operationsQueue) {
|
||||
super(viewManagers, operationsQueue);
|
||||
super(reactContext, viewManagers, operationsQueue);
|
||||
mStateBuilder = new StateBuilder(operationsQueue);
|
||||
mReactImageManager = reactImageManager;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue