summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-07-22 15:25:20 -0700
committer Mathias Agopian <mathias@google.com> 2011-07-22 15:25:20 -0700
commita5ed1454c469370ee0d0bb0221eba842c30e3ec1 (patch)
tree57bf441314fbde2ef3daad628c5111ecda8f0a11
parent45b63dd11c10927122e3eb3eae5ac702cb24f5b8 (diff)
Fix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRANSFORM_HINT
Bug: 4487161 Change-Id: Ib2dfbbef15397b6d90695bd27f25849ca20704f1
-rw-r--r--services/surfaceflinger/SurfaceTextureLayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceTextureLayer.cpp b/services/surfaceflinger/SurfaceTextureLayer.cpp
index 40659d4d16be..91e010f90fe8 100644
--- a/services/surfaceflinger/SurfaceTextureLayer.cpp
+++ b/services/surfaceflinger/SurfaceTextureLayer.cpp
@@ -64,7 +64,7 @@ status_t SurfaceTextureLayer::queueBuffer(int buf, int64_t timestamp,
if (orientation & Transform::ROT_INVALID) {
orientation = 0;
}
- *outTransform = layer->getOrientation();
+ *outTransform = orientation;
}
return res;