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

Commit 9fd354c5 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

[Unfold transition] Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for the overlay

Adding a flag DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED
when getting display list to calculate the size
of the unfold overlay.

Bug: 261591746
Bug: 221071695
Test: manual unfolds => check size is correct
Change-Id: I87990ec13eb726f9c70a05953462d011da4fb952
parent 67c61bf5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ constructor(
    }

    private fun getUnfoldedDisplayInfo(): DisplayInfo =
        displayManager.displays
        displayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED)
            .asSequence()
            .map { DisplayInfo().apply { it.getDisplayInfo(this) } }
            .filter { it.type == Display.TYPE_INTERNAL }