mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-17 23:04:40 +08:00
Native Animated - Restore default values when removing props on Android
Summary: Same as #11819 but for Android. I didn't notice the bug initially in my app because I was using different animations on Android which did not trigger this issue. **Test plan** Created a simple repro example and tested that this fixes it. https://gist.github.com/janicduplessis/0f3eb362dae63fedf99a0d3ee041796a Closes https://github.com/facebook/react-native/pull/12842 Differential Revision: D5556439 Pulled By: hramos fbshipit-source-id: d13f4ad258d03cca46c793751ebc49d942b99152
This commit is contained in:
committed by
Facebook Github Bot
parent
b4f91be647
commit
ac43548063
@@ -725,6 +725,10 @@ public class UIViewOperationQueue {
|
||||
mOperations.add(new UIBlockOperation(block));
|
||||
}
|
||||
|
||||
public void prependUIBlock(UIBlock block) {
|
||||
mOperations.add(0, new UIBlockOperation(block));
|
||||
}
|
||||
|
||||
/* package */ void dispatchViewUpdates(final int batchId) {
|
||||
SystraceMessage.beginSection(
|
||||
Systrace.TRACE_TAG_REACT_JAVA_BRIDGE,
|
||||
|
||||
Reference in New Issue
Block a user