fix a typo that prevented preserveRects() to work properly
this caused drawing artifacts during the screen rotation animation of SurfaceView. Change-Id: Idcc996b6ca2e346135dd2264959670c0b086d4cb
This commit is contained in:
parent
164b7a466f
commit
ab7c13f96a
@ -308,7 +308,7 @@ uint32_t Transform::getOrientation() const
|
|||||||
|
|
||||||
bool Transform::preserveRects() const
|
bool Transform::preserveRects() const
|
||||||
{
|
{
|
||||||
return (type() & ROT_INVALID) ? false : true;
|
return (getOrientation() & ROT_INVALID) ? false : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Transform::dump(const char* name) const
|
void Transform::dump(const char* name) const
|
||||||
|
Loading…
Reference in New Issue
Block a user