commit | 6dc49c09bc072a5b14225cdce2ca4e8c3f0edab1 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Fri Jul 22 15:25:20 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Fri Jul 22 15:25:20 2011 -0700 |
tree | c7979953ee6d993e37829578ee3abd2b9322da32 | |
parent | bb66c9b5a9c16dee93559eb738746a2d0a9b2db3 [diff] |
Fix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRANSFORM_HINT Bug: 4487161 Change-Id: Ib2dfbbef15397b6d90695bd27f25849ca20704f1
diff --git a/services/surfaceflinger/SurfaceTextureLayer.cpp b/services/surfaceflinger/SurfaceTextureLayer.cpp index 40659d4..91e010f 100644 --- a/services/surfaceflinger/SurfaceTextureLayer.cpp +++ b/services/surfaceflinger/SurfaceTextureLayer.cpp
@@ -64,7 +64,7 @@ if (orientation & Transform::ROT_INVALID) { orientation = 0; } - *outTransform = layer->getOrientation(); + *outTransform = orientation; } return res;