diff options
| -rw-r--r-- | services/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 5f6d2a7f98..46e587de31 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -681,7 +681,7 @@ void Layer::updateCursorPosition(const sp<const DisplayDevice>& display) { } // This gives us only the "orientation" component of the transform - const State& s(getCurrentState()); + const State& s(getDrawingState()); // Apply the layer's transform, followed by the display's global transform // Here we're guaranteed that the layer's transform preserves rects |