mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix/android (#34573)
Summary:
This PR should fix the issues introduced by commit c34659a5d3.
The problem is that `Collections.emptyList` creates a `List<Object>` which is not compatible with the `List<TargetView>` type.
## Changelog
[Android] [Fixed] - Make Android CI build again.
Pull Request resolved: https://github.com/facebook/react-native/pull/34573
Test Plan: test_buck and the "test Docker android" must be green.
Reviewed By: cipolleschi
Differential Revision: D39235674
Pulled By: cortinico
fbshipit-source-id: 574338e74aeb4635c67d91de28780fb784c9f405
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c34659a5d3
commit
12e5842e11
@@ -361,7 +361,7 @@ public class JSPointerDispatcher {
|
||||
List<ViewTarget> lastHitPath =
|
||||
mLastHitPathByPointerId.containsKey(activePointerId)
|
||||
? mLastHitPathByPointerId.get(activePointerId)
|
||||
: Collections.emptyList();
|
||||
: new ArrayList<ViewTarget>();
|
||||
|
||||
float[] lastEventCoordinates =
|
||||
mLastEventCoodinatesByPointerId.containsKey(activePointerId)
|
||||
|
||||
Reference in New Issue
Block a user