Merge "[Unfold transition] Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for the overlay" into tm-qpr-dev

This commit is contained in:
Nick Chameyev
2022-12-07 11:24:12 +00:00
committed by Android (Google) Code Review

View File

@@ -233,7 +233,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 }