Add final crop implementation
Bug 26559810
Change-Id: Idaccd13cd625c92d18665ddecebdbb266ea365f3
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index 06f13e8..e43342e 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -38,6 +38,7 @@
*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 @@
return BAD_VALUE;
}
input.read(crop);
+ input.read(finalCrop);
handle = input.readStrongBinder();
frameNumber = input.readUint64();
input.read(transparentRegion);