mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 22:37:14 +08:00
Temporarly ignore exception when running animations
Summary: Running animations sometimes fail in Android. we are ignoring those failures temporarly Reviewed By: fkgozali Differential Revision: D14884510 fbshipit-source-id: 66d6113e12b1bd67e8bcc564943b423825b4cea6
This commit is contained in:
committed by
Facebook Github Bot
parent
ebbc4f6cc4
commit
261cda92de
@@ -282,7 +282,12 @@ public class FabricUIManager implements UIManager, LifecycleEventListener {
|
||||
@Override
|
||||
public void synchronouslyUpdateViewOnUIThread(int reactTag, ReadableMap props) {
|
||||
long time = SystemClock.uptimeMillis();
|
||||
scheduleMountItems(updatePropsMountItem(reactTag, props), time, 0, time, time);
|
||||
try {
|
||||
scheduleMountItems(updatePropsMountItem(reactTag, props), time, 0, time, time);
|
||||
} catch (Exception ex) {
|
||||
// ignore exceptions for now
|
||||
// TODO T42943890: Fix animations in Fabric and remove this try/catch
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user