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:
Mengjue Wang 2016-07-20 15:25:57 -07:00 committed by Ahmed El-Helw
parent da8759c610
commit 70fb45393e
1 changed files with 8 additions and 2 deletions

View File

@ -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;
}