diff options
author | 2021-04-22 03:37:25 +0000 | |
---|---|---|
committer | 2021-04-22 03:37:25 +0000 | |
commit | cff403eff24107009733f2a6353c0a913b99641f (patch) | |
tree | 6ab54dda8b8107fb3066d99c15fcecc41e7d3ccb /libs/gui/ISurfaceComposer.cpp | |
parent | bb33ac0e8f8db3032673483f9f93909d6d1db63a (diff) | |
parent | 82f6e7f825e649a75bc67057e37f731fdd1b13c9 (diff) |
Merge "Introduce ASurfaceTransaction_setOnCommit api" into sc-dev am: 82f6e7f825
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14252627
Change-Id: If93f887006bb1f83da0ea023fcfb559f330803c1
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
-rw-r--r-- | libs/gui/ISurfaceComposer.cpp | 4 |
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); } |