diff options
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 84ba64494f..f6ca9e8f0b 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -95,7 +95,7 @@ status_t layer_state_t::write(Parcel& output) const } output.writeStrongBinder(cachedBuffer.token); - output.writeInt32(cachedBuffer.bufferId); + output.writeUint64(cachedBuffer.cacheId); output.writeParcelable(metadata); output.writeFloat(bgColorAlpha); @@ -173,7 +173,7 @@ status_t layer_state_t::read(const Parcel& input) } cachedBuffer.token = input.readStrongBinder(); - cachedBuffer.bufferId = input.readInt32(); + cachedBuffer.cacheId = input.readUint64(); input.readParcelable(&metadata); bgColorAlpha = input.readFloat(); |