diff options
| author | 2016-03-04 17:54:21 +0000 | |
|---|---|---|
| committer | 2016-03-21 16:10:59 -0700 | |
| commit | acbe67888f0bd65d5400400f0115bae6bd6199dc (patch) | |
| tree | 113c4432fde7ede1b20441993cef55796ce528b2 /libs/gui/LayerState.cpp | |
| parent | b49576d5241859a3cf03c9f34b8030ad25d3806b (diff) | |
Add final crop implementation
Bug 26559810
Change-Id: Idaccd13cd625c92d18665ddecebdbb266ea365f3
Diffstat (limited to 'libs/gui/LayerState.cpp')
| -rw-r--r-- | libs/gui/LayerState.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index 06f13e8b2a..e43342e34a 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -38,6 +38,7 @@ status_t layer_state_t::write(Parcel& output) const *reinterpret_cast<layer_state_t::matrix22_t *>( output.writeInplace(sizeof(layer_state_t::matrix22_t))) = matrix; output.write(crop); + output.write(finalCrop); output.writeStrongBinder(handle); output.writeUint64(frameNumber); output.write(transparentRegion); @@ -64,6 +65,7 @@ status_t layer_state_t::read(const Parcel& input) return BAD_VALUE; } input.read(crop); + input.read(finalCrop); handle = input.readStrongBinder(); frameNumber = input.readUint64(); input.read(transparentRegion); |