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

Commit 5b603552 authored by Corey Tabaka's avatar Corey Tabaka
Browse files

libvrflinger: Remove superfluous update to display manager.

Setting visibility attributes already triggers an update to the
display manager. Avoid the double trigger.

Bug: None
Test: build; run
Change-Id: I4c8a7c814143ccd1a4fc22fe068ba9b05d95cdd6
parent 89bbefcb
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -116,8 +116,6 @@ void DisplayService::OnChannelClose(pdx::Message& message,
    surface->OnSetAttributes(message,
    surface->OnSetAttributes(message,
                             {{display::SurfaceAttribute::Visible,
                             {{display::SurfaceAttribute::Visible,
                               display::SurfaceAttributeValue{false}}});
                               display::SurfaceAttributeValue{false}}});
    SurfaceUpdated(surface->surface_type(),
                   display::SurfaceUpdateFlags::VisibilityChanged);
  }
  }
}
}