diff options
author | 2021-04-22 03:34:33 +0000 | |
---|---|---|
committer | 2021-04-22 03:34:33 +0000 | |
commit | 82f6e7f825e649a75bc67057e37f731fdd1b13c9 (patch) | |
tree | e56cdbb5cf64d4a3a7b1dc2c4b5a95434844e77a /libs/gui/LayerState.cpp | |
parent | af3a22e30f36ed69f52bd8282dcebe5620c19a7a (diff) | |
parent | fc46c1e6e58ff5acdc72feea409e4aa03f978be9 (diff) |
Merge "Introduce ASurfaceTransaction_setOnCommit api" into sc-dev
Diffstat (limited to 'libs/gui/LayerState.cpp')
-rw-r--r-- | libs/gui/LayerState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index 55ed7fe298..517b49e6b5 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -140,7 +140,7 @@ status_t layer_state_t::write(Parcel& output) const for (auto listener : listeners) { SAFE_PARCEL(output.writeStrongBinder, listener.transactionCompletedListener); - SAFE_PARCEL(output.writeInt64Vector, listener.callbackIds); + SAFE_PARCEL(output.writeParcelableVector, listener.callbackIds); } SAFE_PARCEL(output.writeFloat, shadowRadius); SAFE_PARCEL(output.writeInt32, frameRateSelectionPriority); @@ -258,7 +258,7 @@ status_t layer_state_t::read(const Parcel& input) sp<IBinder> listener; std::vector<CallbackId> callbackIds; SAFE_PARCEL(input.readNullableStrongBinder, &listener); - SAFE_PARCEL(input.readInt64Vector, &callbackIds); + SAFE_PARCEL(input.readParcelableVector, &callbackIds); listeners.emplace_back(listener, callbackIds); } SAFE_PARCEL(input.readFloat, &shadowRadius); |