summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2011-09-26 19:44:41 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2011-09-26 19:44:41 -0700
commitf3292716b758b51d3849b3eb021eb176e78ea720 (patch)
tree4b45f6efe4b5937a57bbb0380bf371bd9341680a /services/surfaceflinger/Layer.cpp
parenta7717750227ddd5829161a3e4476c1fb0de3d2ad (diff)
parent3780d38010f50ccce508871058d54c1921936e0c (diff)
am 3780d380: Merge "SurfaceFlinger: fix the transform hint" into ics-factoryrom
* commit '3780d38010f50ccce508871058d54c1921936e0c': SurfaceFlinger: fix the transform hint
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index f85ce7fd0949..49d2c55757eb 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -578,7 +578,7 @@ uint32_t Layer::getEffectiveUsage(uint32_t usage) const
uint32_t Layer::getTransformHint() const {
uint32_t orientation = 0;
if (!mFlinger->mDebugDisableTransformHint) {
- orientation = getOrientation();
+ orientation = getPlaneOrientation();
if (orientation & Transform::ROT_INVALID) {
orientation = 0;
}