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

Commit a39238ee authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Restore display decoration if device supports it"

parents 860c2bf7 9a11a2ea
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2740,8 +2740,7 @@ std::optional<DisplayDecorationSupport> SurfaceComposerClient::getDisplayDecorat
            ComposerServiceAIDL::getComposerService()->getDisplayDecorationSupport(displayToken,
                                                                                   &gsupport);
    std::optional<DisplayDecorationSupport> support;
    // TODO (b/241277093): Remove `false && ` once b/241278870 is fixed.
    if (false && status.isOk() && gsupport.has_value()) {
    if (status.isOk() && gsupport.has_value()) {
        support.emplace(DisplayDecorationSupport{
          .format =
                static_cast<aidl::android::hardware::graphics::common::PixelFormat>(