summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2016-08-01 19:56:47 -0700
committerDoris Liu <tianliu@google.com>2016-08-02 03:01:48 +0000
commitb51b2864e8ee58cad1b1880a3424112587a6e9e9 (patch)
treeeab6df7b7ee52a20c73368d1848aad798c69ad6a /libs
parenta2f247e6a63eefc70866202abbec0e3af3768695 (diff)
downloadandroid-frameworks-base-b51b2864e8ee58cad1b1880a3424112587a6e9e9.tar.gz
android-frameworks-base-b51b2864e8ee58cad1b1880a3424112587a6e9e9.tar.xz
Ensure layer update include the dirty rect from AVD
BUG: 30166063 Change-Id: Ia14a2fe3c653e0172a28b4ef22f5171ccf7390c1
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/RenderNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp
index 6facf20..bdcad79 100644
--- a/libs/hwui/RenderNode.cpp
+++ b/libs/hwui/RenderNode.cpp
@@ -422,7 +422,6 @@ void RenderNode::prepareTreeImpl(TreeInfo& info, bool functorsNeedLayer) {
pushStagingDisplayListChanges(info);
}
prepareSubTree(info, childFunctorsNeedLayer, mDisplayList);
- pushLayerUpdate(info);
if (mDisplayList) {
for (auto& vectorDrawable : mDisplayList->getVectorDrawables()) {
@@ -433,6 +432,7 @@ void RenderNode::prepareTreeImpl(TreeInfo& info, bool functorsNeedLayer) {
vectorDrawable->setPropertyChangeWillBeConsumed(true);
}
}
+ pushLayerUpdate(info);
info.damageAccumulator->popTransform();
}