[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
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user