diff options
author | Fedor Kudasov <kudasov@google.com> | 2019-07-04 09:41:13 +0100 |
---|---|---|
committer | Fedor Kudasov <kudasov@google.com> | 2019-07-04 08:44:26 +0000 |
commit | 09cfce089d7539c2d727d2cd563471ef39eb163a (patch) | |
tree | 57ff0f868701f24954af4f5f011ea77157c46f37 /libs/hwui/RootRenderNode.h | |
parent | 8958bbac1cc8c17235c1e7d490c251c28da0a923 (diff) |
Enable simplified version of RootRenderNode for host
Bug: 117921091
Test: all tests should pass
Change-Id: Iae6e5f37eb11cdcffe29336ce2eda6ab6897385c
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 |