overlay: mdssRot: Fix the logic for setting Rotator info flags.
Set the required flags instead of considering SECURE flag only. CRs-Fixed: 423045 Change-Id: I82699d23de97c5276cac8f3b614b5d0463d7b06a
This commit is contained in:
@@ -95,10 +95,7 @@ void MdssRot::setSource(const overlay::utils::Whf& awhf) {
|
||||
}
|
||||
|
||||
void MdssRot::setFlags(const utils::eMdpFlags& flags) {
|
||||
mRotInfo.flags &= ~utils::OV_MDP_SECURE_OVERLAY_SESSION;
|
||||
if (flags & utils::OV_MDP_SECURE_OVERLAY_SESSION) {
|
||||
mRotInfo.flags |= utils::OV_MDP_SECURE_OVERLAY_SESSION;
|
||||
}
|
||||
mRotInfo.flags |= flags;
|
||||
}
|
||||
|
||||
void MdssRot::setTransform(const utils::eTransform& rot, const bool& rotUsed)
|
||||
|
||||
Reference in New Issue
Block a user