Fix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRANSFORM_HINT
Bug: 4487161 Change-Id: Ib2dfbbef15397b6d90695bd27f25849ca20704f1
This commit is contained in:
parent
bb66c9b5a9
commit
6dc49c09bc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user