Remove logical adjustments from FlatViewGroup.

Summary: These were needed until recent changes in DrawView.

Reviewed By: ahmedre

Differential Revision: D3646707
This commit is contained in:
Seth Kirby
2016-08-01 13:06:42 -07:00
committed by Ahmed El-Helw
parent dfc815cb19
commit 28654aef65
6 changed files with 10 additions and 26 deletions

View File

@@ -69,11 +69,10 @@ import com.facebook.react.uimanager.ViewManagerRegistry;
int reactTag,
@Nullable DrawCommand[] drawCommands,
@Nullable AttachDetachListener[] listeners,
@Nullable NodeRegion[] nodeRegions,
Rect logicalAdjustment) {
@Nullable NodeRegion[] nodeRegions) {
FlatViewGroup view = (FlatViewGroup) resolveView(reactTag);
if (drawCommands != null) {
view.mountDrawCommands(drawCommands, logicalAdjustment);
view.mountDrawCommands(drawCommands);
}
if (listeners != null) {
view.mountAttachDetachListeners(listeners);