summaryrefslogtreecommitdiff
path: root/libs/hwui/RootRenderNode.h
diff options
context:
space:
mode:
author Jerome Gaillard <jgaillard@google.com> 2024-04-08 15:02:33 +0100
committer Jerome Gaillard <jgaillard@google.com> 2024-04-10 17:18:14 +0100
commitdd37c9871ef2a918d251dd9159181eb622a6e371 (patch)
tree18652bec06dbc4ce1440f71bdd95718c44525e00 /libs/hwui/RootRenderNode.h
parent8ab756dbff6530b1b743b111cfab7b6a3266e759 (diff)
Remove unnecessary #ifdefs
This enables more functionalities of RootRenderNode and associated classes on host by removing now unnecessary #ifdefs. Bug: 322360037 Test: build libhwui on host Change-Id: I95c9e7c76ceec47e0573c7799160bde3f2a579ae
Diffstat (limited to 'libs/hwui/RootRenderNode.h')
-rw-r--r--libs/hwui/RootRenderNode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/hwui/RootRenderNode.h b/libs/hwui/RootRenderNode.h
index 1d3f5a8a51e0..7a5cda7041ed 100644
--- a/libs/hwui/RootRenderNode.h
+++ b/libs/hwui/RootRenderNode.h
@@ -74,7 +74,6 @@ private:
void detachVectorDrawableAnimator(PropertyValuesAnimatorSet* anim);
};
-#ifdef __ANDROID__ // Layoutlib does not support Animations
class ContextFactoryImpl : public IContextFactory {
public:
explicit ContextFactoryImpl(RootRenderNode* rootNode) : mRootNode(rootNode) {}
@@ -84,6 +83,5 @@ public:
private:
RootRenderNode* mRootNode;
};
-#endif
} // namespace android::uirenderer