Fix broken test_android on CircleCI

Summary:
This diff addresses a couple of failures introduced on D36608419 (https://github.com/facebook/react-native/commit/7b778fbebb9e11896f0ef1578645232bb9bf0c7f)

Changelog:
[Internal] [Fixed] - Fix broken test_android on CircleCI

Reviewed By: robhogan

Differential Revision: D36758484

fbshipit-source-id: 6e822553e1f6b405a1ced5fccad6c81b03bb46b0
This commit is contained in:
Nicola Corti authored and Facebook GitHub Bot committed 2022-05-30 03:25:03 -07:00
1 parent 54c346a03a
commit f4123b0bd1
2 files changed
+2 -2

No files matched your search

@@ -55,7 +55,7 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
return null;
}
if (!mRecyclableViews.containsKey(surfaceId)) {
mRecyclableViews.put(surfaceId, new Stack<>());
mRecyclableViews.put(surfaceId, new Stack<T>());
}
return mRecyclableViews.get(surfaceId);
}
@@ -131,7 +131,7 @@ public final class ViewManagerRegistry {
}
/** Send lifecycle signal to all ViewManagers that StopSurface has been called. */
public void onSurfaceStopped(int surfaceId) {
public void onSurfaceStopped(final int surfaceId) {
Runnable runnable =
new Runnable() {
@Override