diff options
| author | 2019-04-18 23:29:26 +0000 | |
|---|---|---|
| committer | 2019-04-18 23:29:26 +0000 | |
| commit | 5210624e601f00e22c55cd6d98823e4462ddc1f9 (patch) | |
| tree | 49a6ccbb234f44a5db0338f3f94a28bea1912e97 /libs/gui/LayerState.cpp | |
| parent | e6aef12927d637ae51f3897595f83183f3caf3c7 (diff) | |
| parent | 644996808162d4fae0f3efaf816601ee5ac2b14f (diff) | |
Merge changes Ieb4d16d1,Icef95925 into qt-dev
* changes:
Adding testing for slot generation
Change slot generation for BufferState
Diffstat (limited to 'libs/gui/LayerState.cpp')
| -rw-r--r-- | libs/gui/LayerState.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index 3077b21da7..075bb52e3c 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -87,8 +87,8 @@ status_t layer_state_t::write(Parcel& output) const colorTransform.asArray(), 16 * sizeof(float)); output.writeFloat(cornerRadius); output.writeBool(hasListenerCallbacks); - output.writeStrongBinder(cachedBuffer.token); - output.writeUint64(cachedBuffer.cacheId); + output.writeWeakBinder(cachedBuffer.token); + output.writeUint64(cachedBuffer.id); output.writeParcelable(metadata); output.writeFloat(bgColorAlpha); @@ -157,8 +157,8 @@ status_t layer_state_t::read(const Parcel& input) colorTransform = mat4(static_cast<const float*>(input.readInplace(16 * sizeof(float)))); cornerRadius = input.readFloat(); hasListenerCallbacks = input.readBool(); - cachedBuffer.token = input.readStrongBinder(); - cachedBuffer.cacheId = input.readUint64(); + cachedBuffer.token = input.readWeakBinder(); + cachedBuffer.id = input.readUint64(); input.readParcelable(&metadata); bgColorAlpha = input.readFloat(); |