summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2021-08-10 15:38:17 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-08-10 15:38:17 +0000
commit9ea0a76757b34fb32181b9d36bfe074ef64a38a0 (patch)
tree7246b2409324c101b814df261e5ae5f0ff125d82 /libs/gui/LayerState.cpp
parent3c13a3c798b8aa9495b1ace5b42fdd835268e403 (diff)
parent0b06a8da25c9cdca8e43ed24f5532a839318296f (diff)
Merge "Send releaseCallbackId and releaseFence to correct listener" into sc-v2-dev
Diffstat (limited to 'libs/gui/LayerState.cpp')
-rw-r--r--libs/gui/LayerState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index 837e5b35f7..5bed69cfc7 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -174,6 +174,7 @@ status_t layer_state_t::write(Parcel& output) const
SAFE_PARCEL(output.write, destinationFrame);
SAFE_PARCEL(output.writeBool, isTrustedOverlay);
+ SAFE_PARCEL(output.writeStrongBinder, releaseBufferEndpoint);
return NO_ERROR;
}
@@ -303,6 +304,7 @@ status_t layer_state_t::read(const Parcel& input)
SAFE_PARCEL(input.read, destinationFrame);
SAFE_PARCEL(input.readBool, &isTrustedOverlay);
+ SAFE_PARCEL(input.readNullableStrongBinder, &releaseBufferEndpoint);
return NO_ERROR;
}