summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fedor Kudasov <kudasov@google.com> 2019-07-03 13:56:56 +0100
committer Fedor Kudasov <kudasov@google.com> 2019-07-03 13:01:40 +0000
commitbc409cf19001182301d81f7725988992393832e9 (patch)
treea1554ad06e5a645df216297bcf9492d6e30ab832
parent2d6b238ea39ab41e077c7e955b1eb5b57627de89 (diff)
Rearrange some headers
Bug: 117921091 Test: all tests should pass Change-Id: I6ee108df6ec1de8deabfb5ec6b0e8b6e76a940b1
-rw-r--r--core/jni/android_view_ThreadedRenderer.cpp1
-rw-r--r--libs/hwui/RootRenderNode.cpp2
-rw-r--r--libs/hwui/RootRenderNode.h3
-rw-r--r--libs/hwui/renderthread/RenderProxy.cpp2
4 files changed, 3 insertions, 5 deletions
diff --git a/core/jni/android_view_ThreadedRenderer.cpp b/core/jni/android_view_ThreadedRenderer.cpp
index ccb840d122df..b0443a850550 100644
--- a/core/jni/android_view_ThreadedRenderer.cpp
+++ b/core/jni/android_view_ThreadedRenderer.cpp
@@ -42,7 +42,6 @@
#include <system/window.h>
#include <FrameInfo.h>
-#include <IContextFactory.h>
#include <Picture.h>
#include <Properties.h>
#include <RootRenderNode.h>
diff --git a/libs/hwui/RootRenderNode.cpp b/libs/hwui/RootRenderNode.cpp
index d8c1b57e2ef4..24801928121b 100644
--- a/libs/hwui/RootRenderNode.cpp
+++ b/libs/hwui/RootRenderNode.cpp
@@ -16,6 +16,8 @@
#include "RootRenderNode.h"
+#include <utils/Looper.h>
+
namespace android::uirenderer {
class FinishAndInvokeListener : public MessageHandler {
diff --git a/libs/hwui/RootRenderNode.h b/libs/hwui/RootRenderNode.h
index ea10921be20b..5c830e08ef68 100644
--- a/libs/hwui/RootRenderNode.h
+++ b/libs/hwui/RootRenderNode.h
@@ -16,13 +16,12 @@
#pragma once
-#include <utils/Looper.h>
-
#include <set>
#include <vector>
#include "AnimationContext.h"
#include "Animator.h"
+#include <IContextFactory.h>
#include "PropertyValuesAnimatorSet.h"
#include "RenderNode.h"
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp
index 3dd1d4462d02..e50428b2ee62 100644
--- a/libs/hwui/renderthread/RenderProxy.cpp
+++ b/libs/hwui/renderthread/RenderProxy.cpp
@@ -30,8 +30,6 @@
#include "utils/TimeUtils.h"
#include "utils/TraceUtils.h"
-#include <ui/GraphicBuffer.h>
-
namespace android {
namespace uirenderer {
namespace renderthread {