diff options
| author | 2011-07-25 19:51:31 -0700 | |
|---|---|---|
| committer | 2011-07-25 19:51:31 -0700 | |
| commit | ae65c17959042edd5f1b44e7653d1a775bbfceec (patch) | |
| tree | 2636ade318e973439a516eef36e2827465d894ef | |
| parent | b33d46cc77b0e96a4d0ff39b85158c5c4eca3855 (diff) | |
| parent | 9a817a35f11cb118209a3238451603258ae7f105 (diff) | |
Merge "fix a typo that prevented preserveRects() to work properly"
| -rw-r--r-- | services/surfaceflinger/Transform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Transform.cpp b/services/surfaceflinger/Transform.cpp index 24d5f9ac9875..05b7527563fa 100644 --- a/services/surfaceflinger/Transform.cpp +++ b/services/surfaceflinger/Transform.cpp @@ -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 |