summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Rob Carr <racarr@google.com> 2021-04-09 22:10:16 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-04-09 22:10:16 +0000
commitcc6080011d6e7c7ab219d6c4f7eabc99574dca87 (patch)
tree288e02e5121d92d744df5f384cffa5a9468a5b63 /libs/gui/LayerState.cpp
parentcc3ff95870405880e3f4e48146c78ad45eff0bc0 (diff)
parent257fdaecb53fdec10dbe187ec523641da21b55cb (diff)
Merge "SurfaceFlinger: Remove reparentChildren" into sc-dev
Diffstat (limited to 'libs/gui/LayerState.cpp')
-rw-r--r--libs/gui/LayerState.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index 2a9a97ed13..5b213ad5c3 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -430,10 +430,6 @@ void layer_state_t::merge(const layer_state_t& other) {
barrierSurfaceControl_legacy = other.barrierSurfaceControl_legacy;
barrierFrameNumber = other.barrierFrameNumber;
}
- if (other.what & eReparentChildren) {
- what |= eReparentChildren;
- reparentSurfaceControl = other.reparentSurfaceControl;
- }
if (other.what & eRelativeLayerChanged) {
what |= eRelativeLayerChanged;
what &= ~eLayerChanged;