HWC2: Track move of transform into Geometry
Changes a line where we missed the move of transform into Geometry to
fix the HWC2 build.
Bug: 26454664
Change-Id: Ib44ec8705b81da2aa1b99e61449609371e533297
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 99f0f0b..42d0810 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -780,7 +780,7 @@
}
// Subtract the transparent region and snap to the bounds
Rect bounds = reduce(win, s.activeTransparentRegion);
- Rect frame(s.transform.transform(bounds));
+ Rect frame(s.active.transform.transform(bounds));
frame.intersect(displayDevice->getViewport(), &frame);
auto& displayTransform(displayDevice->getTransform());
auto position = displayTransform.transform(frame);