Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11595687 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android (Google) Code Review
Browse files

Merge "Merge color property in a transaction" into sc-v2-dev

parents 2731fe53 4c36cd89
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -573,6 +573,10 @@ void layer_state_t::merge(const layer_state_t& other) {
        what |= eDropInputModeChanged;
        dropInputMode = other.dropInputMode;
    }
    if (other.what & eColorChanged) {
        what |= eColorChanged;
        color = other.color;
    }
    if ((other.what & what) != other.what) {
        ALOGE("Unmerged SurfaceComposer Transaction properties. LayerState::merge needs updating? "
              "other.what=0x%" PRIu64 " what=0x%" PRIu64,