overlay: Reset the rotation flag
Reset the MDP source rotation flag if there is no 90/270 degree rotation. Change-Id: I36ef62e52213149f7ce84677534de969d18972a4
This commit is contained in:
		| @@ -1076,6 +1076,8 @@ bool OverlayControlChannel::setParameter(int param, int value, bool fetch) { | ||||
|     if ((mOVInfo.user_data[0] == MDP_ROT_90) || | ||||
|         (mOVInfo.user_data[0] == MDP_ROT_270)) | ||||
|         mOVInfo.flags |= MDP_SOURCE_ROTATED_90; | ||||
|     else | ||||
|         mOVInfo.flags &= ~MDP_SOURCE_ROTATED_90; | ||||
|  | ||||
|     if (ioctl(mFD, MSMFB_OVERLAY_SET, &mOVInfo)) { | ||||
|         reportError("setParameter, overlay set failed"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user