mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
54c346a03a
commit
f4123b0bd1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user