summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/LayerFE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/LayerFE.cpp')
-rw-r--r--services/surfaceflinger/LayerFE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/LayerFE.cpp b/services/surfaceflinger/LayerFE.cpp
index e713263433..f855f278c3 100644
--- a/services/surfaceflinger/LayerFE.cpp
+++ b/services/surfaceflinger/LayerFE.cpp
@@ -25,8 +25,8 @@
#include <system/window.h>
#include <utils/Log.h>
-#include "DisplayDevice.h"
#include "LayerFE.h"
+#include "SurfaceFlinger.h"
namespace android {
@@ -260,7 +260,7 @@ void LayerFE::prepareBufferStateClientComposition(
* the code below applies the primary display's inverse transform to
* the texture transform
*/
- uint32_t transform = DisplayDevice::getPrimaryDisplayRotationFlags();
+ uint32_t transform = SurfaceFlinger::getActiveDisplayRotationFlags();
mat4 tr = inverseOrientation(transform);
/**