Merge "Merge ColorSpaceAgnosticChanged property in a transactioin" into tm-dev
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index 338ff11..49b669e 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -594,6 +594,10 @@
what |= eColorChanged;
color = other.color;
}
+ if (other.what & eColorSpaceAgnosticChanged) {
+ what |= eColorSpaceAgnosticChanged;
+ colorSpaceAgnostic = other.colorSpaceAgnostic;
+ }
if ((other.what & what) != other.what) {
ALOGE("Unmerged SurfaceComposer Transaction properties. LayerState::merge needs updating? "
"other.what=0x%" PRIX64 " what=0x%" PRIX64 " unmerged flags=0x%" PRIX64,