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

Commit 9a11a2ea authored by Leon Scroggins III's avatar Leon Scroggins III Committed by Leon Scroggins
Browse files

Restore display decoration if device supports it

This was previously disabled due to a bug (somewhere), but the bug
seems to have been fixed. Restore the intended behavior.

Bug: 241278870
Test: manual
Change-Id: I0ed7c5f4cd35b290d0cc283d3a6d7844ba00f4ba
parent c2af7c0e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2714,8 +2714,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>(