summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Nader Jawad <njawad@google.com> 2021-04-08 20:35:39 -0700
committer Nader Jawad <njawad@google.com> 2021-05-04 10:43:06 -0700
commit2dfc98b6f563ac7041fd705a8dbcda12cf32fa76 (patch)
treed321d127b41e515587411936a879c3060c9fb2d4 /services/surfaceflinger/Layer.cpp
parenta0e37d286b55bab43ce2c295f98885c9bf77dc95 (diff)
Update SurfaceFlinger to handle stretching
of surfaces that are part of a scrolling container Bug: 184297961 Test: In progress Change-Id: I959df097ae1fc833fb755f1fb2d759d79f260963
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 0d673eab78..a833c85fb4 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -635,7 +635,7 @@ std::optional<compositionengine::LayerFE::LayerSettings> Layer::prepareClientCom
layerSettings.blurRegionTransform =
getActiveTransform(getDrawingState()).inverse().asMatrix4();
}
- layerSettings.stretchEffect = getDrawingState().stretchEffect;
+ layerSettings.stretchEffect = getStretchEffect();
// Record the name of the layer for debugging further down the stack.
layerSettings.name = getName();
return layerSettings;