Skip to content

Commit

Permalink
Fix broken test_android on CircleCI
Browse files Browse the repository at this point in the history
Summary:
This diff addresses a couple of failures introduced on D36608419 (7b778fb)

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

Reviewed By: robhogan

Differential Revision: D36758484

fbshipit-source-id: 6e822553e1f6b405a1ced5fccad6c81b03bb46b0
  • Loading branch information
cortinico authored and facebook-github-bot committed May 30, 2022
1 parent 54c346a commit f4123b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void enableViewRecycling() {
return null;
}
if (!mRecyclableViews.containsKey(surfaceId)) {
mRecyclableViews.put(surfaceId, new Stack<>());
mRecyclableViews.put(surfaceId, new Stack<T>());
}
return mRecyclableViews.get(surfaceId);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ ViewManager getViewManagerIfExists(String className) {
}

/** 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
Expand Down

0 comments on commit f4123b0

Please sign in to comment.