summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-04-22 03:34:33 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-04-22 03:34:33 +0000
commit82f6e7f825e649a75bc67057e37f731fdd1b13c9 (patch)
treee56cdbb5cf64d4a3a7b1dc2c4b5a95434844e77a /libs/gui/ISurfaceComposer.cpp
parentaf3a22e30f36ed69f52bd8282dcebe5620c19a7a (diff)
parentfc46c1e6e58ff5acdc72feea409e4aa03f978be9 (diff)
Merge "Introduce ASurfaceTransaction_setOnCommit api" into sc-dev
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
-rw-r--r--libs/gui/ISurfaceComposer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/ISurfaceComposer.cpp b/libs/gui/ISurfaceComposer.cpp
index 6ca248748f..53721cf6f7 100644
--- a/libs/gui/ISurfaceComposer.cpp
+++ b/libs/gui/ISurfaceComposer.cpp
@@ -99,7 +99,7 @@ public:
SAFE_PARCEL(data.writeVectorSize, listenerCallbacks);
for (const auto& [listener, callbackIds] : listenerCallbacks) {
SAFE_PARCEL(data.writeStrongBinder, listener);
- SAFE_PARCEL(data.writeInt64Vector, callbackIds);
+ SAFE_PARCEL(data.writeParcelableVector, callbackIds);
}
SAFE_PARCEL(data.writeUint64, transactionId);
@@ -1268,7 +1268,7 @@ status_t BnSurfaceComposer::onTransact(
for (int32_t i = 0; i < listenersSize; i++) {
SAFE_PARCEL(data.readStrongBinder, &tmpBinder);
std::vector<CallbackId> callbackIds;
- SAFE_PARCEL(data.readInt64Vector, &callbackIds);
+ SAFE_PARCEL(data.readParcelableVector, &callbackIds);
listenerCallbacks.emplace_back(tmpBinder, callbackIds);
}