Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae65c179 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "fix a typo that prevented preserveRects() to work properly"

parents b33d46cc 9a817a35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -308,7 +308,7 @@ uint32_t Transform::getOrientation() const

bool Transform::preserveRects() const
{
    return (type() & ROT_INVALID) ? false : true;
    return (getOrientation() & ROT_INVALID) ? false : true;
}

void Transform::dump(const char* name) const