introduce removePrerenderedSurfaceWithRootTag:

Summary:
similar to android, we want to handle removing dropped surfaces. in this diff, we add the API to do so.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D32557069

fbshipit-source-id: 2487c459df3f1f412ad0da77568d6c0ab0a1298c
This commit is contained in:
Phillip Pan 2021-11-23 01:59:41 -08:00 коммит произвёл Facebook GitHub Bot
Родитель cb610ddca7
Коммит 6a344fe900
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -19,6 +19,7 @@ class MockSurfaceHandler : public SurfaceHandler {
MockSurfaceHandler() : SurfaceHandler("moduleName", 0){};
MOCK_QUALIFIED_METHOD1(setDisplayMode, const noexcept, void(DisplayMode));
MOCK_QUALIFIED_METHOD0(getSurfaceId, const noexcept, SurfaceId());
};
} // namespace react