Merge "[Unfold transition] Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for the overlay" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3599c203fb
@@ -233,7 +233,7 @@ constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun getUnfoldedDisplayInfo(): DisplayInfo =
|
private fun getUnfoldedDisplayInfo(): DisplayInfo =
|
||||||
displayManager.displays
|
displayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED)
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.map { DisplayInfo().apply { it.getDisplayInfo(this) } }
|
.map { DisplayInfo().apply { it.getDisplayInfo(this) } }
|
||||||
.filter { it.type == Display.TYPE_INTERNAL }
|
.filter { it.type == Display.TYPE_INTERNAL }
|
||||||
|
|||||||
Reference in New Issue
Block a user