diff options
| author | Mathias Agopian <> | 2009-03-24 22:43:22 -0700 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-24 22:43:22 -0700 |
| commit | 2764f30a74484870de03fa1a2aca0c01f991c711 (patch) | |
| tree | 182976a132754ec6fd692e3f421e219c63db5c13 /libs/surfaceflinger/SurfaceFlinger.cpp | |
| parent | 00f5eca412248a32325442c982f97303dacae94b (diff) | |
| download | frameworks_base-2764f30a74484870de03fa1a2aca0c01f991c711.zip frameworks_base-2764f30a74484870de03fa1a2aca0c01f991c711.tar.gz frameworks_base-2764f30a74484870de03fa1a2aca0c01f991c711.tar.bz2 | |
Automated import from //branches/donutburger/...@142446,142446
Diffstat (limited to 'libs/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | libs/surfaceflinger/SurfaceFlinger.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/surfaceflinger/SurfaceFlinger.cpp b/libs/surfaceflinger/SurfaceFlinger.cpp index 8499b67..d915a84 100644 --- a/libs/surfaceflinger/SurfaceFlinger.cpp +++ b/libs/surfaceflinger/SurfaceFlinger.cpp @@ -1804,7 +1804,6 @@ status_t GraphicPlane::setOrientation(int orientation) if (orientation == ISurfaceComposer::eOrientationDefault) { // make sure the default orientation is optimal mOrientationTransform.reset(); - mOrientation = orientation; mGlobalTransform = mTransform; return NO_ERROR; } @@ -1825,7 +1824,7 @@ status_t GraphicPlane::setOrientation(int orientation) GraphicPlane::orientationToTransfrom(orientation, w, h, &mOrientationTransform); } - mOrientation = orientation; + mGlobalTransform = mOrientationTransform * mTransform; return NO_ERROR; } |
