From 8708c8bb8297ad628083da91d245429a38576163 Mon Sep 17 00:00:00 2001 From: Aaron Chiu Date: Thu, 6 Oct 2016 15:50:30 -0700 Subject: [PATCH] make ViewManager extend BaseJavaModule Reviewed By: achen1 Differential Revision: D3950323 fbshipit-source-id: 91fda89a9a457e0e5b6952b744eeba5e31c46a9a --- .../main/java/com/facebook/react/uimanager/ViewManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java index ddc50fdc1..e75d28b49 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java @@ -15,6 +15,7 @@ import java.util.Map; import android.view.View; +import com.facebook.react.bridge.BaseJavaModule; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.touch.JSResponderHandler; import com.facebook.react.touch.ReactInterceptingViewGroup; @@ -28,7 +29,8 @@ import com.facebook.react.uimanager.annotations.ReactPropertyHolder; * for the corresponding native view. */ @ReactPropertyHolder -public abstract class ViewManager { +public abstract class ViewManager + extends BaseJavaModule { public final void updateProperties(T viewToUpdate, ReactStylesDiffMap props) { ViewManagerPropertyUpdater.updateProps(this, viewToUpdate, props);