mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-12 09:20:14 +08:00
Revert D2564759
Differential Revision: D2564818 fb-gh-sync-id: 75e44551fc2c7e22be8096f12c06aa88b72a4508
This commit is contained in:
committed by
facebook-github-bot-7
parent
e1b2c84a81
commit
9960878ba4
@@ -14,7 +14,7 @@ import javax.annotation.Nullable;
|
||||
import android.util.SparseBooleanArray;
|
||||
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
import com.facebook.react.bridge.ReadableMapKeySetIterator;
|
||||
import com.facebook.react.bridge.ReadableMapKeySeyIterator;
|
||||
|
||||
/**
|
||||
* Class responsible for optimizing the native view hierarchy while still respecting the final UI
|
||||
@@ -417,7 +417,7 @@ public class NativeViewHierarchyOptimizer {
|
||||
return false;
|
||||
}
|
||||
|
||||
ReadableMapKeySetIterator keyIterator = props.mBackingMap.keySetIterator();
|
||||
ReadableMapKeySeyIterator keyIterator = props.mBackingMap.keySetIterator();
|
||||
while (keyIterator.hasNextKey()) {
|
||||
if (!ViewProps.isLayoutOnly(keyIterator.nextKey())) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user