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

Commit 111b2d89 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

binder interfaces can't be compared directly

we always need to compare their binder

Change-Id: I70d554ebc5009fe81e87923235f91451f32e1a30
parent c21fc05a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -934,7 +934,7 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
                } else {
                    // this display is in both lists. see if something changed.
                    const DisplayDeviceState& state(curr[j]);
                    if (state.surface != draw[i].surface) {
                    if (state.surface->asBinder() != draw[i].surface->asBinder()) {
                        // changing the surface is like destroying and
                        // recreating the DisplayDevice