diff options
Diffstat (limited to 'libs/hwui/RootRenderNode.h')
-rw-r--r-- | libs/hwui/RootRenderNode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/RootRenderNode.h b/libs/hwui/RootRenderNode.h index 5c830e08ef68..12de4ecac94b 100644 --- a/libs/hwui/RootRenderNode.h +++ b/libs/hwui/RootRenderNode.h @@ -74,6 +74,7 @@ private: void detachVectorDrawableAnimator(PropertyValuesAnimatorSet* anim); }; +#ifdef __ANDROID__ // Layoutlib does not support Animations class ANDROID_API ContextFactoryImpl : public IContextFactory { public: ANDROID_API explicit ContextFactoryImpl(RootRenderNode* rootNode) : mRootNode(rootNode) {} @@ -84,5 +85,6 @@ public: private: RootRenderNode* mRootNode; }; +#endif } // namespace android::uirenderer |