Fix RootViewTest

Reviewed By: fkgozali

Differential Revision: D7944946

fbshipit-source-id: a8dbceba060b22ac4bc4728fb342372c437a0733
This commit is contained in:
Andrew Chen (Eng) 2018-05-11 10:57:29 -07:00 committed by Facebook Github Bot
parent a93e281428
commit 194bd88052
1 changed files with 1 additions and 0 deletions

View File

@ -527,6 +527,7 @@ public class ReactRootView extends SizeMonitoringFrameLayout
@VisibleForTesting
/* package */ void simulateAttachForTesting() {
mIsAttachedToInstance = true;
mJSTouchDispatcher = new JSTouchDispatcher(this);
}
private CustomGlobalLayoutListener getCustomGlobalLayoutListener() {