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

Commit 878a9b16 authored by Pat Plunkett's avatar Pat Plunkett Committed by android-build-merger
Browse files

Set the layer composition type in HWC

am: 9db7166d

Change-Id: Ic2cef4359d38384ff67c7e51cb3f4531fd9119c5
parents ce04896b 9db7166d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1060,14 +1060,6 @@ void Layer::UpdateLayerSettings() {

  UpdateVisibilitySettings();

  error = composer_->setLayerCompositionType(
      display, hardware_composer_layer_,
      composition_type_.cast<Hwc2::IComposerClient::Composition>());
  ALOGE_IF(
      error != HWC::Error::None,
      "Layer::UpdateLayerSettings: Error setting layer composition type: %s",
      error.to_string().c_str());

  // TODO(eieio): Use surface attributes or some other mechanism to control
  // the layer display frame.
  error = composer_->setLayerDisplayFrame(