summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2021-02-10 05:42:36 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-02-10 05:42:36 +0000
commit1c69780efbb60608767a28a0887f2cb548fa2002 (patch)
treee3ac9f7ffebbd3d4ba24921f73311a09ddbf2ec8 /libs/gui/LayerState.cpp
parent70091d6660ae38137971ebed061c3aedad775937 (diff)
parentcdb4ed7743f5abfa4e9a785b14a50ca25c906f3f (diff)
Merge "Add plumbing for sending stretch effect to SF" into sc-dev
Diffstat (limited to 'libs/gui/LayerState.cpp')
-rw-r--r--libs/gui/LayerState.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index fff33056e1..f053372cb0 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -167,6 +167,9 @@ status_t layer_state_t::write(Parcel& output) const
SAFE_PARCEL(output.writeInt32, region.right);
SAFE_PARCEL(output.writeInt32, region.bottom);
}
+
+ SAFE_PARCEL(output.write, stretchEffect);
+
return NO_ERROR;
}
@@ -290,6 +293,9 @@ status_t layer_state_t::read(const Parcel& input)
SAFE_PARCEL(input.readInt32, &region.bottom);
blurRegions.push_back(region);
}
+
+ SAFE_PARCEL(input.read, stretchEffect);
+
return NO_ERROR;
}