Skip to content

Commit e5e8e63

Browse files
mdvaccameta-codesync[bot]
authored andcommitted
Delete LayoutDirectionUtil from fbsource
Summary: LayoutDirectionUtil is part of legacy architecutre, in this diff I'm deleting it from fbsource changelog: [internal] internal Reviewed By: shwanton, cortinico Differential Revision: D83984648 fbshipit-source-id: 161e4347ccab160fb1be66cba05f9474c0ad3b72
1 parent e4da343 commit e5e8e63

2 files changed

Lines changed: 0 additions & 38 deletions

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/LayoutDirectionUtil.kt

Lines changed: 0 additions & 36 deletions
This file was deleted.

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ public synchronized void updateLayout(
188188
try {
189189
View viewToUpdate = resolveView(tag);
190190

191-
viewToUpdate.setLayoutDirection(LayoutDirectionUtil.toAndroidFromYoga(layoutDirection));
192-
193191
// Even though we have exact dimensions, we still call measure because some platform views
194192
// (e.g.
195193
// Switch) assume that method will always be called before onLayout and onDraw. They use it to

0 commit comments

Comments
 (0)