Merge "Fix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRANSFORM_HINT"

This commit is contained in:
Mathias Agopian 2011-07-22 15:27:47 -07:00 committed by Android (Google) Code Review
commit 1679e909eb

View File

@ -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;